Ignore:
Timestamp:
Jan 12, 2021, 5:40:13 PM (4 years ago)
Author:
abierjon
Message:

Mars GCM:
Harmonization of the utility programs lslin, concatnc and localtime when dealing
with Solar longitude as the Time variable (for localtime, the check on long_name
attribute is still compliant with files from previous versions)

AB

File:
1 edited

Legend:

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

    r2438 r2440  
    404404     ierr=nf_get_att_text(nid,timevar,"title",long_name)
    405405   endif
    406    if ((ierr.EQ.NF_NOERR).and.(long_name.eq."Solar longitude")) then
     406   if ((ierr.EQ.NF_NOERR).and.(index(long_name,"Solar").ne.0)) then
     407     ! if long_name contains "Solar"
    407408     write(*,*) "ERROR: Time axis in input file is in Solar Longitude!"
    408409     write(*,*) "       localtime requires sols as time axis!"
Note: See TracChangeset for help on using the changeset viewer.