Ignore:
Timestamp:
Jun 5, 2020, 9:44:36 AM (5 years ago)
Author:
emillour
Message:

Generic GCM:
Update start2archive/newstart programs to handle recently introduced
non-orographic GW variables in (re-)start files.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd/write_archive.F

    r1478 r2336  
    3737      implicit none
    3838
    39 #include "dimensions.h"
    40 #include "paramet.h"
    41 #include "comgeom.h"
    42 #include "netcdf.inc"
     39      include "dimensions.h"
     40      include "paramet.h"
     41      include "comgeom.h"
     42      include "netcdf.inc"
    4343
    4444c-----------------------------------------------------------------------
     
    8383
    8484              write (*,*) "====================="
    85               write (*,*) "creation de ",nom
     85              write (*,*) "defining ",nom
    8686              call def_var(nid,nom,titre,unite,4,id,varid,ierr)
    8787
     
    113113
    114114           if (ierr.ne.NF_NOERR) then
    115               write(*,*) "***** PUT_VAR matter in write_archive"
    116               write(*,*) "***** with ",nom," ",nf_STRERROR(ierr)
     115              write(*,*) "***** PUT_VAR problem in write_archive"
     116              write(*,*) "***** with ",trim(nom)," ",nf_STRERROR(ierr)
    117117              call abort
    118118           endif
     
    140140          ! define the variable
    141141          write(*,*)"====================="
    142           write(*,*)"defining ",nom
     142          write(*,*)"defining variable ",trim(nom)
    143143          call def_var(nid,nom,titre,unite,4,id,varid,ierr)
    144144         
     
    182182          ! define the variable
    183183          write(*,*)"====================="
    184           write(*,*)"defining ",nom
     184          write(*,*)"defining variable ",trim(nom)
    185185          call def_var(nid,nom,titre,unite,4,id,varid,ierr)
    186186
     
    222222
    223223              write (*,*) "====================="
    224               write (*,*) "creation de ",nom
     224              write (*,*) "defining variable ",trim(nom)
    225225
    226226              call def_var(nid,nom,titre,unite,3,id,varid,ierr)
     
    243243
    244244           if (ierr.ne.NF_NOERR) then
    245               write(*,*) "***** PUT_VAR matter in write_archive"
     245              write(*,*) "***** PUT_VAR problem in write_archive"
    246246              write(*,*) "***** with ",nom,nf_STRERROR(ierr)
    247247              call abort
     
    264264
    265265              write (*,*) "====================="
    266               write (*,*) "creation de ",nom
     266              write (*,*) "defining variable ",trim(nom)
    267267
    268268              call def_var(nid,nom,titre,unite,1,id,varid,ierr)
     
    279279#endif
    280280           if (ierr.ne.NF_NOERR) then
    281               write(*,*) "***** PUT_VAR matter in write_archive"
     281              write(*,*) "***** PUT_VAR problem in write_archive"
    282282              write(*,*) "***** with ",nom,nf_STRERROR(ierr)
    283283              call abort
     
    289289        endif ! of if (dim.eq.3) else if (dim.eq.-3) ....
    290290
    291       return
    292291      end
    293292
Note: See TracChangeset for help on using the changeset viewer.