Changeset 556 in lmdz_wrf
- Timestamp:
- Jul 3, 2015, 2:59:35 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/read_ISD.py
r555 r556 272 272 Nvals = len(values) 273 273 for iv in range(Nvals): 274 stringv=values[iv] 274 if values[iv] is None: 275 stringv = 'None' 276 else: 277 stringv = values[iv] 275 278 charvals = np.chararray(Lchar) 276 279 Lstr = len(stringv) … … 627 630 quit(-1) 628 631 else: 632 print opts.stloc.split(',') 629 633 stationdesc = [opts.stloc.split(',')[0], np.float(opts.stloc.split(',')[1]), \ 630 634 np.float(opts.stloc.split(',')[2]), np.float(opts.stloc.split(',')[3])] … … 774 778 set_attribute(objfile,'version_script',version) 775 779 776 # Adding three variables with the station location, longitude, latitude and height780 # Adding three variables with the station name, location, longitude, latitude and height 777 781 adding_station_desc(objfile,stationdesc) 778 782
Note: See TracChangeset
for help on using the changeset viewer.