Changeset 8780 for trunk/anuga_core/source/anuga/file_conversion/csv2sts.py
- Timestamp:
- Mar 27, 2013, 8:04:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/file_conversion/csv2sts.py
r7858 r8780 57 57 import getopt 58 58 from anuga.utilities import log 59 from Scientific.IO.NetCDFimport NetCDFFile59 from anuga.file.netcdf import NetCDFFile 60 60 from anuga.file.csv_file import load_csv_as_dict 61 61 from anuga.config import netcdf_mode_w, netcdf_float … … 98 98 fid.createVariable(col, netcdf_float, ('number_of_timesteps',)) 99 99 100 fid.variables[col] .assignValue(timeseries_data[col])100 fid.variables[col][:] = timeseries_data[col] 101 101 102 102 fid.close()
Note: See TracChangeset
for help on using the changeset viewer.