Changeset 569 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jul 6, 2015, 2:49:18 PM (10 years ago)
Author:
lfita
Message:

Working version with the `values_fortran_fmt'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/TS_ASCII_netCDF.py

    r566 r569  
    2121    fname = 'ts_header'
    2222
    23     fmt=['A26', 'I2', 'I3', 'A6', 'A2', 'F7.3', 'A1', 'F8.3', 'A3', 'I4', 'A1', 'I4',\
     23    fmts=['A26', 'I2', 'I3', 'A6', 'A2', 'F7.3', 'A1', 'F8.3', 'A3', 'I4', 'A1', 'I4',\
    2424      'A3', 'F7.3', 'A1', 'F8.3', 'A2', 'F6.1', 'A7']
    2525
    26     ncvar.values_fortran_fmt(ln,fmt)
     26    headervalues = ncvar.values_fortran_fmt(ln,fmts)
    2727
    2828    return headervalues
Note: See TracChangeset for help on using the changeset viewer.