Show
Ignore:
Timestamp:
05/06/12 10:40:06 (13 months ago)
Author:
jjr8
Message:

Merged revision(s) 964-980 from MGET/Branches/Jason:
Added moon.py
........
* Incremented build number
* Working on #542: Add a tool for calculating the moon phase
........
Rebuilt ArcGIS 9.3 toolbox.
........
Fixed #544: On ArcGIS 9.3, 9.3 SP1, and 9.3.1, various "Interpolate ... at Points" tools fail with RuntimeError?: Failed to set the value of the ... field of a point from ArcGIS FeatureClass? ... to None due to TypeError?: an integer is required
........
Fixed #545: Fit GLM and Predict GLM From Rasters tools fail with RPy_Exception: could not find function "..."
........
Fixed/implemented:
* #542: Add a tool for calculating the moon phase
* #543: Binary output from Predict GLM, Predict GAM, etc. should be NoData? where inputs are NoData?
* Added temporal periodicity analysis tool.
........
Rebuilt ArcGIS 9.3 toolbox.
........
........
* Rebuilt ArcGIS 9.3 toolbox.
* Renamed 'Spatial Analysis' toolset to 'Spatial And Temporal Analysis'
........
* Fixed #488: Create Fishnet For Points tool does not work on ArcGIS 10
* Finished implementation of Periodicity.AnalyzeArcGISTable
........
Rebuilt ArcGIS toolbox. Fixed build break.
........
Rebuilt installation packages. This will be merged with the Trunk and released as MGET 0.8a40.
........

Location:
MGET/Trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • MGET/Trunk

  • MGET/Trunk/PythonPackage/src/GeoEco/DataProducts/HYCOM.py

    r958 r981  
    13461346        # Initialize the base class. 
    13471347 
    1348         super(HYCOMGLBa008Equatorial3D, self).__init__(queryableAttributes=(QueryableAttribute(u'VariableName', _(u'HYCOM variable'), UnicodeStringTypeMetadata(allowedValues=[u'emp', u'mixed_layer_density', u'mixed_layer_salinity', u'mixed_layer_temperature', u'mixed_layer_thickness', u'mixed_layer_u_velocity', u'mixed_layer_v_velocity', u'surface_boundary_layer_thickness', u'qtot', u'ssh', u'surface_salinity_trend', u'surface_temperature_trend'], makeLowercase=True)),), 
     1348        super(HYCOMGLBa008Equatorial3D, self).__init__(queryableAttributes=(QueryableAttribute(u'VariableName', _(u'HYCOM variable'), UnicodeStringTypeMetadata(allowedValues=[u'emp', u'mld', u'mlp', u'qtot', u'ssh', u'surface_salinity_trend', u'surface_temperature_trend'], makeLowercase=True)),), 
    13491349                                                       queryableAttributeValues={u'VariableName': variableName}, 
    13501350                                                       lazyPropertyValues={'SpatialReference': Dataset.ConvertSpatialReference('proj4', '+proj=merc +R=6371001 +lon_0=-105.88 +no_defs', 'obj'),         # lon_0 and other georeferencing parameters were calculated by _HYCOMGridGLBa0083D.GetSpatialReferenceParametersForHYCOMGlobalGrid() 
     
    20482048u"""HYCOM 3D variable (dimensions x, y, and time), one of: 
    20492049 
    2050 * emp - Water flux into the ocean, in kg/m2/s. 
     2050* emp - Water flux into the ocean, in kg/m^2/s. 
    20512051 
    20522052* mld - Mixed layer thickness, in m, defined as the depth at which the 
    2053   temperature change from the surface temperature is 0.02 degrees C. 
     2053  temperature change from the surface temperature is 0.2 degrees C. 
    20542054 
    20552055* mlp - Mixed layer thickness, in m, defined as the depth at which the 
    2056   pressure change from the surface pressure is 0.03 kg/m3. 
    2057  
    2058 * qtot - Surface downward heat flux, in w/m2. 
     2056  pressure change from the surface pressure is 0.03 kg/m^3. 
     2057 
     2058* qtot - Surface downward heat flux, in W/m^2. 
    20592059 
    20602060* ssh - Sea surface height, in m, above the HYCOM reference spheroid. 
     
    25962596u"""HYCOM 3D variables to interpolate: 
    25972597 
    2598 * emp - Water flux into the ocean, in kg/m2/s. 
     2598* emp - Water flux into the ocean, in kg/m^2/s. 
    25992599 
    26002600* mld - Mixed layer thickness, in m, defined as the depth at which the 
    2601   temperature change from the surface temperature is 0.02 degrees C. 
     2601  temperature change from the surface temperature is 0.2 degrees C. 
    26022602 
    26032603* mlp - Mixed layer thickness, in m, defined as the depth at which the 
    2604   pressure change from the surface pressure is 0.03 kg/m3. 
    2605  
    2606 * qtot - Surface downward heat flux, in w/m2. 
     2604  pressure change from the surface pressure is 0.03 kg/m^3. 
     2605 
     2606* qtot - Surface downward heat flux, in W/m^2. 
    26072607 
    26082608* ssh - Sea surface height, in m, above the HYCOM reference spheroid. 
     
    38383838 
    38393839AddArgumentMetadata(HYCOMGLBa008Equatorial3D.__init__, u'variableName', 
    3840     typeMetadata=UnicodeStringTypeMetadata(allowedValues=[u'emp', u'mixed_layer_density', u'mixed_layer_salinity', u'mixed_layer_temperature', u'mixed_layer_thickness', u'mixed_layer_u_velocity', u'mixed_layer_v_velocity', u'qtot', u'ssh', u'surface_boundary_layer_thickness', u'surface_salinity_trend', u'surface_temperature_trend'], makeLowercase=True), 
     3840    typeMetadata=UnicodeStringTypeMetadata(allowedValues=[u'emp', u'mld', u'mlp', u'qtot', u'ssh', u'surface_salinity_trend', u'surface_temperature_trend'], makeLowercase=True), 
    38413841    description=_( 
    38423842u"""HYCOM 3D variable (dimensions x, y, and time), one of: 
    38433843 
    3844 * emp - Water flux into the ocean, in kg/m2/s. 
    3845  
    3846 * mixed_layer_density - Density of the mixed layer, in sigma units. 
    3847  
    3848 * mixed_layer_salinity - Salinity of the mixed layer, in psu. 
    3849  
    3850 * mixed_layer_temperature - Temperature of the mixed layer, in degrees 
    3851   C. 
    3852  
    3853 * mixed_layer_thickness - Thickness of the mixed layer, in m. 
    3854  
    3855 * mixed_layer_u_velocity - Eastward sea water velocity of the mixed 
    3856   layer, in m/s. 
    3857  
    3858 * mixed_layer_v_velocity - Northward sea water velocity of the mixed 
    3859   layer, in m/s. 
    3860  
    3861 * qtot - Surface downward heat flux, in w/m2. 
     3844* emp - Water flux into the ocean, in kg/m^2/s. 
     3845 
     3846* mld - Mixed layer thickness, in m, defined as the depth at which the 
     3847  temperature change from the surface temperature is 0.2 degrees C. 
     3848 
     3849* mlp - Mixed layer thickness, in m, defined as the depth at which the 
     3850  pressure change from the surface pressure is 0.03 kg/m^3. 
     3851 
     3852* qtot - Surface downward heat flux, in W/m^2. 
    38623853 
    38633854* ssh - Sea surface height, in m, above the HYCOM reference spheroid. 
    3864  
    3865 * surface_boundary_layer_thickness - Thickness of the surface boundary 
    3866   layer, in m. 
    38673855 
    38683856* surface_salinity_trend - Surface salinity trend, in psu/day. 
     
    40634051 
    40644052AddArgumentMetadata(HYCOMGLBa008Equatorial3D.InterpolateAtArcGISPoints, u'variableNames', 
    4065     typeMetadata=ListTypeMetadata(elementType=UnicodeStringTypeMetadata(allowedValues=[u'emp', u'mixed_layer_density', u'mixed_layer_salinity', u'mixed_layer_temperature', u'mixed_layer_thickness', u'mixed_layer_u_velocity', u'mixed_layer_v_velocity', u'qtot', u'ssh', u'surface_boundary_layer_thickness', u'surface_salinity_trend', u'surface_temperature_trend'], makeLowercase=True), minLength=1), 
     4053    typeMetadata=ListTypeMetadata(elementType=UnicodeStringTypeMetadata(allowedValues=[u'emp', u'mld', u'mlp', u'qtot', u'ssh', u'surface_salinity_trend', u'surface_temperature_trend'], makeLowercase=True), minLength=1), 
    40664054    description=_( 
    40674055u"""HYCOM 3D variables to interpolate: 
    40684056 
    4069 * emp - Water flux into the ocean, in kg/m2/s. 
    4070  
    4071 * mixed_layer_density - Density of the mixed layer, in sigma units. 
    4072  
    4073 * mixed_layer_salinity - Salinity of the mixed layer, in psu. 
    4074  
    4075 * mixed_layer_temperature - Temperature of the mixed layer, in degrees 
    4076   C. 
    4077  
    4078 * mixed_layer_thickness - Thickness of the mixed layer, in m. 
    4079  
    4080 * mixed_layer_u_velocity - Eastward sea water velocity of the mixed 
    4081   layer, in m/s. 
    4082  
    4083 * mixed_layer_v_velocity - Northward sea water velocity of the mixed 
    4084   layer, in m/s. 
    4085  
    4086 * qtot - Surface downward heat flux, in w/m2. 
     4057* emp - Water flux into the ocean, in kg/m^2/s. 
     4058 
     4059* mld - Mixed layer thickness, in m, defined as the depth at which the 
     4060  temperature change from the surface temperature is 0.2 degrees C. 
     4061 
     4062* mlp - Mixed layer thickness, in m, defined as the depth at which the 
     4063  pressure change from the surface pressure is 0.03 kg/m^3. 
     4064 
     4065* qtot - Surface downward heat flux, in W/m^2. 
    40874066 
    40884067* ssh - Sea surface height, in m, above the HYCOM reference spheroid. 
    4089  
    4090 * surface_boundary_layer_thickness - Thickness of the surface boundary 
    4091   layer, in m. 
    40924068 
    40934069* surface_salinity_trend - Surface salinity trend, in psu/day.