Changeset 885

Show
Ignore:
Timestamp:
01/05/12 15:13:22 (18 months ago)
Author:
jjr8
Message:

Changed LoadOSCARCurrentsIntoSimulation to rotate currents to be aligned approximately on the Prime Meridian. This will make them cover the same spatial extent as GSHHS in ArcMap?. (In principle, it should not affect any analysis.)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • MGET/Branches/Jason/PythonPackage/src/GeoEco/Connectivity/CoralReefConnectivity.py

    r882 r885  
    228228 
    229229        oscarCurrentsDirectory = os.path.join(simulationDirectory, 'OriginalOSCARCurrents') 
    230         OSCAR5DayThirdDegreeCurrents.CreateArcGISRasters(u'u', oscarCurrentsDirectory, rasterNameExpressions=['u', '%%Y', 'u%%Y%%j0000.img'], startDate=startDate, endDate=endDate, timeout=timeout, maxRetryTime=maxRetryTime, cacheDirectory=cacheDirectory) 
    231         OSCAR5DayThirdDegreeCurrents.CreateArcGISRasters(u'v', oscarCurrentsDirectory, rasterNameExpressions=['v', '%%Y', 'v%%Y%%j0000.img'], startDate=startDate, endDate=endDate, timeout=timeout, maxRetryTime=maxRetryTime, cacheDirectory=cacheDirectory) 
     230        OSCAR5DayThirdDegreeCurrents.CreateArcGISRasters(u'u', oscarCurrentsDirectory, rasterNameExpressions=['u', '%%Y', 'u%%Y%%j0000.img'], rotationOffset=-20., startDate=startDate, endDate=endDate, timeout=timeout, maxRetryTime=maxRetryTime, cacheDirectory=cacheDirectory) 
     231        OSCAR5DayThirdDegreeCurrents.CreateArcGISRasters(u'v', oscarCurrentsDirectory, rasterNameExpressions=['v', '%%Y', 'v%%Y%%j0000.img'], rotationOffset=-20., startDate=startDate, endDate=endDate, timeout=timeout, maxRetryTime=maxRetryTime, cacheDirectory=cacheDirectory) 
    232232 
    233233        # Record in the Simulation.ini file that we downloaded some