Changeset 2512
- Timestamp:
- Mar 9, 2006, 2:43:36 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/data_manager.py
r2506 r2512 2127 2127 precision = Float 2128 2128 2129 msg = 'Must use latitudes and longitudes for minlat, maxlon etc' 2130 assert -90 > minlat > 90 , msg 2131 assert -90 > maxlat > 90 , msg 2132 assert -180 > minlon > 180 , msg 2133 assert -180 > maxlon > 180 , msg 2134 2129 2135 2130 2136 #Get NetCDF data … … 2279 2285 number_of_latitudes = latitudes.shape[0] 2280 2286 number_of_longitudes = longitudes.shape[0] 2287 2288 msg = 'No data received' 2289 assert latitudes.shape[0] > 0, msg 2290 assert longitudes.shape[0] > 0, msg 2281 2291 2282 2292 assert amplitudes.shape[0] == number_of_times
Note: See TracChangeset
for help on using the changeset viewer.