Changeset 754 in lmdz_wrf for trunk


Ignore:
Timestamp:
May 4, 2016, 12:23:28 PM (9 years ago)
Author:
lfita
Message:

Adding 'gen'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r753 r754  
    85878587
    85888588    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)
    85918592
    85928593    tunits = tunitsval + ' since ' + refdateS
     
    89798980    condim = values.split(',')[1]
    89808981
    8981     confiles = files_folder(fold,ncfile)
     8982    confiles = gen.files_folder(fold,ncfile)
    89828983    Nfiles = len(confiles)
    89838984
    8984     print '  ' + fname +': concatenating:',Nfiles,'files'
     8985    print '  ' + fname +': concatenating:', Nfiles, 'files'
    89858986    print confiles
    89868987
     
    90589059        objvar = ncobjs[0].variables[dvar]
    90599060
    9060         if searchInlist(list(objvar.dimensions),condim):
     9061        if gen.searchInlist(list(objvar.dimensions),condim):
    90619062            begslicetot = 0
    90629063            for ifile in range(Nfiles):
Note: See TracChangeset for help on using the changeset viewer.