Changeset 737 in lmdz_wrf


Ignore:
Timestamp:
May 2, 2016, 4:13:10 PM (9 years ago)
Author:
lfita
Message:

Adding help on `flipdim'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r736 r737  
    58465846        print '@' + attrcls + '@', ':', valscls[attrcls]
    58475847
     5848    return
     5849
    58485850def flipdim(values, filename, varn):
    58495851    """ flips the value following one dimension [Nflipdim]
     
    58545856    varn= variable name
    58555857    """
     5858    fname = 'flipdim'
     5859
     5860    if values == 'h':
     5861        print fname + '_____________________________________________________________'
     5862        print flipdim.__doc__
     5863        quit()
     5864
     5865    arguments = '[Nflipdim]:[flipdim]'
     5866    check_arguments(fname, values, arguments, ':')
     5867
    58565868    ncf = NetCDFFile(filename,'a')
    58575869
Note: See TracChangeset for help on using the changeset viewer.