Changeset 939
- Timestamp:
- Feb 22, 2005, 3:06:37 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/data_manager.py
r930 r939 1096 1096 minlon = None, maxlon =None, 1097 1097 mint = None, maxt = None, mean_stage = 0, 1098 origin = None ):1098 origin = None, zscale = 1): 1099 1099 """Convert 'Ferret' NetCDF format for wave propagation to 1100 1100 sww format native to pyvolution. … … 1109 1109 min's and max's: If omitted - full extend is used. 1110 1110 To include a value min may equal it, while max must exceed it. 1111 Lat and lon are assuemd to be in decimal degrees 1111 1112 1112 1113 origin is a 5-tuple with geo referenced … … 1340 1341 for k in range(number_of_latitudes): 1341 1342 for l in range(number_of_longitudes): 1342 h = amplitudes[j,k,l]/100 + mean_stage1343 h = zscale*amplitudes[j,k,l]/100 + mean_stage 1343 1344 stage[j,i] = h 1344 1345 xmomentum[j,i] = xspeed[j,k,l]/100*h
Note: See TracChangeset
for help on using the changeset viewer.