Changeset 2256
- Timestamp:
- Jan 19, 2006, 3:56:59 PM (19 years ago)
- Location:
- inundation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/coordinate_transforms/geo_reference.py
r2253 r2256 30 30 """ 31 31 input: 32 NetCDFObject - a handle to the netCDF file 32 NetCDFObject - a handle to the netCDF file to be written to 33 33 ASCIIFile - a handle to the text file 34 34 read_title - the title of the georeference text, if it was read in. -
inundation/pyvolution/data_manager.py
r2112 r2256 1017 1017 1018 1018 1019 def write_ptsfile(ptsname, points, attribute, attribute_name = None): 1019 1020 ######Obsoleted by export_points in load_mesh 1021 def write_ptsfile(ptsname, points, attribute, attribute_name = None, 1022 zone=None, xllcorner=None, yllcorner=None): 1020 1023 """Write points and associated attribute to pts (NetCDF) format 1021 1024 """ … … 1041 1044 #Georeferencing 1042 1045 from coordinate_transforms.geo_reference import Geo_reference 1043 Geo_reference().write_NetCDF(outfile) 1046 if zone is None: 1047 assert xllcorner is None, 'xllcorner must be None' 1048 assert yllcorner is None, 'yllcorner must be None' 1049 Geo_reference().write_NetCDF(outfile) 1050 else: 1051 Geo_reference(zone, xllcorner, yllcorner).write_NetCDF(outfile) 1052 1044 1053 1045 1054
Note: See TracChangeset
for help on using the changeset viewer.