Changeset 504 in lmdz_wrf for trunk/tools
- Timestamp:
- Jun 16, 2015, 6:46:09 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/TS_ASCII_netCDF.py
r461 r504 145 145 # time 146 146 newvar = objofile.createVariable('time','f8',('time')) 147 newvar[:] = time_stepv 148 newattr = ncvar.basicvardef(newvar, 'time', 'time', ' hours since ' +\147 newvar[:] = time_stepv*3600. 148 newattr = ncvar.basicvardef(newvar, 'time', 'time', 'seconds since ' + \ 149 149 simstarttime.replace('_',' ')) 150 150 ncvar.set_attribute(newvar, 'calendar', 'standard')
Note: See TracChangeset
for help on using the changeset viewer.