Changeset 754 in lmdz_wrf for trunk/tools/nc_var_tools.py
- Timestamp:
- May 4, 2016, 12:23:28 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r753 r754 8587 8587 8588 8588 for it in range(dt): 8589 wrfdates = datetimeStr_conversion(timewrfv[it,:],'WRFdatetime', 'matYmdHMS') 8590 cftimes[it] = realdatetime1_CFcompilant(wrfdates, refdate, tunitsval) 8589 wrfdates = gen.datetimeStr_conversion(timewrfv[it,:],'WRFdatetime', \ 8590 'matYmdHMS') 8591 cftimes[it] = gen.realdatetime1_CFcompilant(wrfdates, refdate, tunitsval) 8591 8592 8592 8593 tunits = tunitsval + ' since ' + refdateS … … 8979 8980 condim = values.split(',')[1] 8980 8981 8981 confiles = files_folder(fold,ncfile)8982 confiles = gen.files_folder(fold,ncfile) 8982 8983 Nfiles = len(confiles) 8983 8984 8984 print ' ' + fname +': concatenating:', Nfiles,'files'8985 print ' ' + fname +': concatenating:', Nfiles, 'files' 8985 8986 print confiles 8986 8987 … … 9058 9059 objvar = ncobjs[0].variables[dvar] 9059 9060 9060 if searchInlist(list(objvar.dimensions),condim):9061 if gen.searchInlist(list(objvar.dimensions),condim): 9061 9062 begslicetot = 0 9062 9063 for ifile in range(Nfiles):
Note: See TracChangeset
for help on using the changeset viewer.