Ignore:
Timestamp:
Apr 7, 2020, 9:30:46 PM (5 years ago)
Author:
abierjon
Message:

Mars GCM:
Add the program terminator.F90 to the LMDZ.MARS/util/ directory, as well as a terminator.def
This program can be used to interpolate GCM files at one terminator (morning or evening) all around the globe.
+ a fix of localtime.F90 which didn't work for stats files.
by Al Beebak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/util/localtime.F90

    r2227 r2280  
    259259   ierr=NF_INQ_VARID(nid,"longitude",lonvar)
    260260   if (ierr.NE.NF_NOERR) then
    261       write(*,*) 'ERROR: Field <longitude> is missing in file'//trim(file)
     261      write(*,*) 'ERROR: Field <longitude> is missing in file '//trim(file)
    262262      stop ""
    263263   endif
     
    272272   ierr=NF_INQ_VARID(nid,"altitude",altvar)
    273273   if (ierr.NE.NF_NOERR) then
    274       write(*,*) 'ERROR: Field <altitude> is missing in file'//trim(file)
     274      write(*,*) 'ERROR: Field <altitude> is missing in file '//trim(file)
    275275      stop ""
    276276   endif
     
    280280   ierr=NF_INQ_DIMID(nid,"index",ctldim)
    281281   if (ierr.NE.NF_NOERR) then
    282       write(*,*) 'ERROR: Dimension <index> is missing in file '//trim(file)
    283       stop "" 
     282      write(*,*) 'Dimension <index> is missing in file '//trim(file)
     283      ctllen=0
     284      !stop "" 
    284285   endif
    285286   ierr=NF_INQ_VARID(nid,"controle",ctlvar)
    286287   if (ierr.NE.NF_NOERR) then
    287       write(*,*) 'Field <controle> is missing in file'//trim(file)
     288      write(*,*) 'Field <controle> is missing in file '//trim(file)
    288289      ctllen=0
    289290      !stop ""
Note: See TracChangeset for help on using the changeset viewer.