Changeset 1031
- Timestamp:
- Mar 8, 2005, 11:16:10 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/coordinate_transforms/geo_reference.py
r1030 r1031 1 1 """ 2 2 """ 3 4 import types 3 5 4 6 class Geo_reference: … … 37 39 38 40 def read_NetCDF(self, infile): 39 self.xllcorner = infile.xllcorner 40 self.yllcorner = infile.yllcorner 41 self.zone = infile.zone 42 41 self.xllcorner = infile.xllcorner[0] 42 self.yllcorner = infile.yllcorner[0] 43 self.zone = infile.zone[0] 44 45 assert (type(self.xllcorner) == types.FloatType) 46 assert (type(self.yllcorner) == types.FloatType) 47 assert (type(self.zone) == types.IntType) 48 43 49 #false_easting = infile.false_easting[0] 44 50 #false_northing = infile.false_northing[0]
Note: See TracChangeset
for help on using the changeset viewer.