Changeset 2438 for trunk/LMDZ.MARS/util/localtime.F90
- Timestamp:
- Dec 16, 2020, 6:08:49 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/util/localtime.F90
r2434 r2438 607 607 units=" " 608 608 long_name=" " 609 ierr=nf_get_att_text(nid, timevar,"long_name",long_name)609 ierr=nf_get_att_text(nid,varid,"long_name",long_name) 610 610 if (ierr.ne.nf_noerr) then 611 611 ! if no attribute "long_name", try "title" 612 ierr=nf_get_att_text(nid, timevar,"title",long_name)612 ierr=nf_get_att_text(nid,varid,"title",long_name) 613 613 endif 614 614 ierr=nf_get_att_text(nid,varid,"units",units)
Note: See TracChangeset
for help on using the changeset viewer.