- Timestamp:
- Jan 12, 2021, 5:40:13 PM (4 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r2438 r2440 3247 3247 Fix a typo made in r2434 in localtime.F90, that replaced the long_name attribute 3248 3248 of variables by "Time" 3249 3250 == 12/01/2021 == AB 3251 Harmonization of the utility programs lslin, concatnc and localtime when dealing 3252 with Solar longitude as the Time variable (for localtime, the check on long_name 3253 attribute is still compliant with files from previous versions) -
trunk/LMDZ.MARS/util/concatnc.F90
r2434 r2440 774 774 !============================================================================== 775 775 if (axis=="ls") then 776 call def_var(nout,"Time"," Solar longitude","degree",1,&776 call def_var(nout,"Time","Ls (Solar Longitude)","degrees",1,& 777 777 (/timedimout/),timevarout,ierr) 778 778 else … … 1279 1279 else ! if (axis.eq."adls") 1280 1280 write(*,*) "Adding Ls as a 1D time variable" 1281 call def_var(nout,"Ls"," Solar Longitude","degree",1, (/timedimout/),nvarid,ierr)1281 call def_var(nout,"Ls","Ls (Solar Longitude)","degrees",1, (/timedimout/),nvarid,ierr) 1282 1282 end if 1283 1283 -
trunk/LMDZ.MARS/util/localtime.F90
r2438 r2440 404 404 ierr=nf_get_att_text(nid,timevar,"title",long_name) 405 405 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" 407 408 write(*,*) "ERROR: Time axis in input file is in Solar Longitude!" 408 409 write(*,*) " localtime requires sols as time axis!"
Note: See TracChangeset
for help on using the changeset viewer.