Changeset 571 in lmdz_wrf for trunk/tools/TS_ASCII_netCDF.py


Ignore:
Timestamp:
Jul 6, 2015, 3:31:07 PM (9 years ago)
Author:
lfita
Message:

Using `leaving_last_spaces' on the name of the station

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/TS_ASCII_netCDF.py

    r569 r571  
    103103        valueshead = ts_header(line)
    104104
    105         ncvar.set_attribute(newvar, 'name', valueshead[0])
     105        ncvar.set_attribute(newvar, 'name', ncvar.reduce_last_spaces(valueshead[0]))
    106106        ncvar.set_attribute(newvar, 'acronym',valueshead[3].replace(' ',''))
    107107
Note: See TracChangeset for help on using the changeset viewer.