Changeset 1020

Show
Ignore:
Timestamp:
08/02/12 12:54:01 (10 months ago)
Author:
jjr8
Message:

Started work on #551: Climatology tools should allow production of climatologies for ENSO phases

Location:
MGET/Branches/Jason/PythonPackage/src/GeoEco/DataProducts
Files:
7 modified

Legend:

Unmodified
Added
Removed
  • MGET/Branches/Jason/PythonPackage/src/GeoEco/DataProducts/Aviso.py

    r968 r1020  
    12741274 
    12751275AddArgumentMetadata(AvisoGriddedSSH.CreateClimatologicalArcGISRasters, u'binType', 
    1276     typeMetadata=UnicodeStringTypeMetadata(allowedValues=[u'Daily', u'Monthly', u'Cumulative'], makeLowercase=True), 
     1276    typeMetadata=UnicodeStringTypeMetadata(allowedValues=[u'Daily', u'Monthly', u'Cumulative', u'ENSO Daily', u'ENSO Monthly', u'ENSO Cumulative'], makeLowercase=True), 
    12771277    description=_( 
    12781278u"""Climatology bins to use, one of: 
     
    13091309  from the entire dataset. The Bin Duration parameter is ignored. 
    13101310 
     1311* ENSO Daily, ENSO Monthly, ENSO Cumulative - the same as above, 
     1312  except each of the bins above will be split into three, based on the 
     1313  phase of the `El Nino Southern Oscillation (ENSO) <http://en.wikipedia.org/wiki/ENSO>`_, 
     1314  as determined by the Oceanic Nino Index (ONI) calculated by the 
     1315  `NOAA NCEP Climate Prediction Center <http://www.cpc.ncep.noaa.gov/products/analysis_monitoring/ensostuff/ensoyears.shtml>`_. 
     1316  The ONI classifies each month into one of three phases: neutral, El 
     1317  Nino, or La Nina. This tool first classifies input images according 
     1318  to their dates into ENSO phases (it downloads ONI data from the 
     1319  `NOAA Earth System Research Laboratory <http://www.esrl.noaa.gov/psd/data/climateindices/list/>`_), 
     1320  then produces a climatology bin for each phase. For example, if you 
     1321  request ENSO Cumulative bins, three bins will be produced: one for 
     1322  all images occurring in neutral months, one for all in El Nino 
     1323  months, and one for all in La Nina months. If you request ENSO 
     1324  Monthly bins, 36 bins will be produced: one for each combination of 
     1325  the 12 months and the three ENSO phases. 
     1326 
    13111327For Daily and Monthly, to adjust when the bins start (e.g. to center a 
    131213284-bin seasonal climatology on solstices and equinoxes), use the Start 
     
    13861402  if 1-day bins, "Xday" if multi-day bins (X is replaced by the 
    13871403  duration), "Monthly" if 1-month bins, "Xmonth" if multi-month bins, 
    1388   or "Cumulative". 
     1404  or "Cumulative". If an ENSO bin type is used, "ENSO_" will be 
     1405  prepended to those strings (e.g. "ENSO_Daily", "ENSO_Monthly"). 
    13891406 
    13901407* %(ClimatologyBinName)s - name of the climatology bin corresponding 
     
    13941411  replaced by the last day), "monthXX" for 1-month bins (XX is 
    13951412  replaced by the month), "monthXXtoYY" (XX is replaced by the first 
    1396   month of the bin, YY by the last month), or "cumulative". 
     1413  month of the bin, YY by the last month), or "cumulative". If an ENSO 
     1414  bin type is used, "neutral_", "ElNino_", and "LaNina_" will be 
     1415  prepended to those strings for each of the three ENSO phased rasters 
     1416  (e.g. "neutral_cumulative", "ElNino_cumulative", and 
     1417  "LaNina_cumulative" when "ENSO Cumulative" bins are requested). 
    13971418 
    13981419* %(Statistic)s - statistic that was calculated, in lowercase and with 
  • MGET/Branches/Jason/PythonPackage/src/GeoEco/DataProducts/HYCOM.py

    r974 r1020  
    23852385 
    23862386AddArgumentMetadata(HYCOMGOMl0043D.CreateClimatologicalArcGISRasters, u'binType', 
    2387     typeMetadata=UnicodeStringTypeMetadata(allowedValues=[u'Daily', u'Monthly', u'Cumulative'], makeLowercase=True), 
     2387    typeMetadata=UnicodeStringTypeMetadata(allowedValues=[u'Daily', u'Monthly', u'Cumulative', u'ENSO Daily', u'ENSO Monthly', u'ENSO Cumulative'], makeLowercase=True), 
    23882388    description=_( 
    23892389u"""Climatology bins to use, one of: 
     
    24202420  from the entire dataset. The Bin Duration parameter is ignored. 
    24212421 
     2422* ENSO Daily, ENSO Monthly, ENSO Cumulative - the same as above, 
     2423  except each of the bins above will be split into three, based on the 
     2424  phase of the `El Nino Southern Oscillation (ENSO) <http://en.wikipedia.org/wiki/ENSO>`_, 
     2425  as determined by the Oceanic Nino Index (ONI) calculated by the 
     2426  `NOAA NCEP Climate Prediction Center <http://www.cpc.ncep.noaa.gov/products/analysis_monitoring/ensostuff/ensoyears.shtml>`_. 
     2427  The ONI classifies each month into one of three phases: neutral, El 
     2428  Nino, or La Nina. This tool first classifies input images according 
     2429  to their dates into ENSO phases (it downloads ONI data from the 
     2430  `NOAA Earth System Research Laboratory <http://www.esrl.noaa.gov/psd/data/climateindices/list/>`_), 
     2431  then produces a climatology bin for each phase. For example, if you 
     2432  request ENSO Cumulative bins, three bins will be produced: one for 
     2433  all images occurring in neutral months, one for all in El Nino 
     2434  months, and one for all in La Nina months. If you request ENSO 
     2435  Monthly bins, 36 bins will be produced: one for each combination of 
     2436  the 12 months and the three ENSO phases. 
     2437 
    24222438For Daily and Monthly, to adjust when the bins start (e.g. to center a 
    242324394-bin seasonal climatology on solstices and equinoxes), use the Start 
     
    24742490  if 1-day bins, "Xday" if multi-day bins (X is replaced by the 
    24752491  duration), "Monthly" if 1-month bins, "Xmonth" if multi-month bins, 
    2476   or "Cumulative". 
     2492  or "Cumulative". If an ENSO bin type is used, "ENSO_" will be 
     2493  prepended to those strings (e.g. "ENSO_Daily", "ENSO_Monthly"). 
    24772494 
    24782495* %(ClimatologyBinName)s - name of the climatology bin corresponding 
     
    24822499  replaced by the last day), "monthXX" for 1-month bins (XX is 
    24832500  replaced by the month), "monthXXtoYY" (XX is replaced by the first 
    2484   month of the bin, YY by the last month), or "cumulative". 
     2501  month of the bin, YY by the last month), or "cumulative". If an ENSO 
     2502  bin type is used, "neutral_", "ElNino_", and "LaNina_" will be 
     2503  prepended to those strings for each of the three ENSO phased rasters 
     2504  (e.g. "neutral_cumulative", "ElNino_cumulative", and 
     2505  "LaNina_cumulative" when "ENSO Cumulative" bins are requested). 
    24852506 
    24862507* %(Statistic)s - statistic that was calculated, in lowercase and with 
  • MGET/Branches/Jason/PythonPackage/src/GeoEco/DataProducts/NASA/OceanColor.py

    r989 r1020  
    13851385 
    13861386AddArgumentMetadata(OceanColorLevel3SMITimeSeries.CreateClimatologicalArcGISRasters, u'binType', 
    1387     typeMetadata=UnicodeStringTypeMetadata(allowedValues=[u'Daily', u'Monthly', u'Cumulative'], makeLowercase=True), 
     1387    typeMetadata=UnicodeStringTypeMetadata(allowedValues=[u'Daily', u'Monthly', u'Cumulative', u'ENSO Daily', u'ENSO Monthly', u'ENSO Cumulative'], makeLowercase=True), 
    13881388    description=_( 
    13891389u"""Climatology bins to use, one of: 
     
    14201420  from the entire dataset. The Bin Duration parameter is ignored. 
    14211421 
     1422* ENSO Daily, ENSO Monthly, ENSO Cumulative - the same as above, 
     1423  except each of the bins above will be split into three, based on the 
     1424  phase of the `El Nino Southern Oscillation (ENSO) <http://en.wikipedia.org/wiki/ENSO>`_, 
     1425  as determined by the Oceanic Nino Index (ONI) calculated by the 
     1426  `NOAA NCEP Climate Prediction Center <http://www.cpc.ncep.noaa.gov/products/analysis_monitoring/ensostuff/ensoyears.shtml>`_. 
     1427  The ONI classifies each month into one of three phases: neutral, El 
     1428  Nino, or La Nina. This tool first classifies input images according 
     1429  to their dates into ENSO phases (it downloads ONI data from the 
     1430  `NOAA Earth System Research Laboratory <http://www.esrl.noaa.gov/psd/data/climateindices/list/>`_), 
     1431  then produces a climatology bin for each phase. For example, if you 
     1432  request ENSO Cumulative bins, three bins will be produced: one for 
     1433  all images occurring in neutral months, one for all in El Nino 
     1434  months, and one for all in La Nina months. If you request ENSO 
     1435  Monthly bins, 36 bins will be produced: one for each combination of 
     1436  the 12 months and the three ENSO phases. 
     1437 
    14221438For Daily and Monthly, to adjust when the bins start (e.g. to center a 
    142314394-bin seasonal climatology on solstices and equinoxes), use the Start 
     
    14931509  if 1-day bins, "Xday" if multi-day bins (X is replaced by the 
    14941510  duration), "Monthly" if 1-month bins, "Xmonth" if multi-month bins, 
    1495   or "Cumulative". 
     1511  or "Cumulative". If an ENSO bin type is used, "ENSO_" will be 
     1512  prepended to those strings (e.g. "ENSO_Daily", "ENSO_Monthly"). 
    14961513 
    14971514* %(ClimatologyBinName)s - name of the climatology bin corresponding 
     
    15011518  replaced by the last day), "monthXX" for 1-month bins (XX is 
    15021519  replaced by the month), "monthXXtoYY" (XX is replaced by the first 
    1503   month of the bin, YY by the last month), or "cumulative". 
     1520  month of the bin, YY by the last month), or "cumulative". If an ENSO 
     1521  bin type is used, "neutral_", "ElNino_", and "LaNina_" will be 
     1522  prepended to those strings for each of the three ENSO phased rasters 
     1523  (e.g. "neutral_cumulative", "ElNino_cumulative", and 
     1524  "LaNina_cumulative" when "ENSO Cumulative" bins are requested). 
    15041525 
    15051526* %(Statistic)s - statistic that was calculated, in lowercase and with 
  • MGET/Branches/Jason/PythonPackage/src/GeoEco/DataProducts/NASA/PODAAC.py

    r960 r1020  
    14921492 
    14931493AddArgumentMetadata(MODISL3SSTTimeSeries.CreateClimatologicalArcGISRasters, u'binType', 
    1494     typeMetadata=UnicodeStringTypeMetadata(allowedValues=[u'Daily', u'Monthly', u'Cumulative'], makeLowercase=True), 
     1494    typeMetadata=UnicodeStringTypeMetadata(allowedValues=[u'Daily', u'Monthly', u'Cumulative', u'ENSO Daily', u'ENSO Monthly', u'ENSO Cumulative'], makeLowercase=True), 
    14951495    description=_( 
    14961496u"""Climatology bins to use, one of: 
     
    15271527  from the entire dataset. The Bin Duration parameter is ignored. 
    15281528 
     1529* ENSO Daily, ENSO Monthly, ENSO Cumulative - the same as above, 
     1530  except each of the bins above will be split into three, based on the 
     1531  phase of the `El Nino Southern Oscillation (ENSO) <http://en.wikipedia.org/wiki/ENSO>`_, 
     1532  as determined by the Oceanic Nino Index (ONI) calculated by the 
     1533  `NOAA NCEP Climate Prediction Center <http://www.cpc.ncep.noaa.gov/products/analysis_monitoring/ensostuff/ensoyears.shtml>`_. 
     1534  The ONI classifies each month into one of three phases: neutral, El 
     1535  Nino, or La Nina. This tool first classifies input images according 
     1536  to their dates into ENSO phases (it downloads ONI data from the 
     1537  `NOAA Earth System Research Laboratory <http://www.esrl.noaa.gov/psd/data/climateindices/list/>`_), 
     1538  then produces a climatology bin for each phase. For example, if you 
     1539  request ENSO Cumulative bins, three bins will be produced: one for 
     1540  all images occurring in neutral months, one for all in El Nino 
     1541  months, and one for all in La Nina months. If you request ENSO 
     1542  Monthly bins, 36 bins will be produced: one for each combination of 
     1543  the 12 months and the three ENSO phases. 
     1544 
    15291545For Daily and Monthly, to adjust when the bins start (e.g. to center a 
    153015464-bin seasonal climatology on solstices and equinoxes), use the Start 
     
    16151631  if 1-day bins, "Xday" if multi-day bins (X is replaced by the 
    16161632  duration), "Monthly" if 1-month bins, "Xmonth" if multi-month bins, 
    1617   or "Cumulative". 
     1633  or "Cumulative". If an ENSO bin type is used, "ENSO_" will be 
     1634  prepended to those strings (e.g. "ENSO_Daily", "ENSO_Monthly"). 
    16181635 
    16191636* %(ClimatologyBinName)s - name of the climatology bin corresponding 
     
    16231640  replaced by the last day), "monthXX" for 1-month bins (XX is 
    16241641  replaced by the month), "monthXXtoYY" (XX is replaced by the first 
    1625   month of the bin, YY by the last month), or "cumulative". 
     1642  month of the bin, YY by the last month), or "cumulative". If an ENSO 
     1643  bin type is used, "neutral_", "ElNino_", and "LaNina_" will be 
     1644  prepended to those strings for each of the three ENSO phased rasters 
     1645  (e.g. "neutral_cumulative", "ElNino_cumulative", and 
     1646  "LaNina_cumulative" when "ENSO Cumulative" bins are requested). 
    16261647 
    16271648* %(Statistic)s - statistic that was calculated, in lowercase and with 
  • MGET/Branches/Jason/PythonPackage/src/GeoEco/DataProducts/NOAA/NODC.py

    r955 r1020  
    25122512 
    25132513AddArgumentMetadata(AVHRRPathfinderSSTTimeSeries.CreateClimatologicalArcGISRasters, u'binType', 
    2514     typeMetadata=UnicodeStringTypeMetadata(allowedValues=[u'Daily', u'Monthly', u'Cumulative'], makeLowercase=True), 
     2514    typeMetadata=UnicodeStringTypeMetadata(allowedValues=[u'Daily', u'Monthly', u'Cumulative', u'ENSO Daily', u'ENSO Monthly', u'ENSO Cumulative'], makeLowercase=True), 
    25152515    description=_( 
    25162516u"""Climatology bins to use, one of: 
     
    25472547  from the entire dataset. The Bin Duration parameter is ignored. 
    25482548 
     2549* ENSO Daily, ENSO Monthly, ENSO Cumulative - the same as above, 
     2550  except each of the bins above will be split into three, based on the 
     2551  phase of the `El Nino Southern Oscillation (ENSO) <http://en.wikipedia.org/wiki/ENSO>`_, 
     2552  as determined by the Oceanic Nino Index (ONI) calculated by the 
     2553  `NOAA NCEP Climate Prediction Center <http://www.cpc.ncep.noaa.gov/products/analysis_monitoring/ensostuff/ensoyears.shtml>`_. 
     2554  The ONI classifies each month into one of three phases: neutral, El 
     2555  Nino, or La Nina. This tool first classifies input images according 
     2556  to their dates into ENSO phases (it downloads ONI data from the 
     2557  `NOAA Earth System Research Laboratory <http://www.esrl.noaa.gov/psd/data/climateindices/list/>`_), 
     2558  then produces a climatology bin for each phase. For example, if you 
     2559  request ENSO Cumulative bins, three bins will be produced: one for 
     2560  all images occurring in neutral months, one for all in El Nino 
     2561  months, and one for all in La Nina months. If you request ENSO 
     2562  Monthly bins, 36 bins will be produced: one for each combination of 
     2563  the 12 months and the three ENSO phases. 
     2564 
    25492565For Daily and Monthly, to adjust when the bins start (e.g. to center a 
    255025664-bin seasonal climatology on solstices and equinoxes), use the Start 
     
    26092625  if 1-day bins, "Xday" if multi-day bins (X is replaced by the 
    26102626  duration), "Monthly" if 1-month bins, "Xmonth" if multi-month bins, 
    2611   or "Cumulative". 
     2627  or "Cumulative". If an ENSO bin type is used, "ENSO_" will be 
     2628  prepended to those strings (e.g. "ENSO_Daily", "ENSO_Monthly"). 
    26122629 
    26132630* %(ClimatologyBinName)s - name of the climatology bin corresponding 
     
    26172634  replaced by the last day), "monthXX" for 1-month bins (XX is 
    26182635  replaced by the month), "monthXXtoYY" (XX is replaced by the first 
    2619   month of the bin, YY by the last month), or "cumulative". 
     2636  month of the bin, YY by the last month), or "cumulative". If an ENSO 
     2637  bin type is used, "neutral_", "ElNino_", and "LaNina_" will be 
     2638  prepended to those strings for each of the three ENSO phased rasters 
     2639  (e.g. "neutral_cumulative", "ElNino_cumulative", and 
     2640  "LaNina_cumulative" when "ENSO Cumulative" bins are requested). 
    26202641 
    26212642* %(Statistic)s - statistic that was calculated, in lowercase and with 
  • MGET/Branches/Jason/PythonPackage/src/GeoEco/DataProducts/NOAA/OSCAR.py

    r968 r1020  
    806806 
    807807AddArgumentMetadata(OSCAR5DayThirdDegreeCurrents.CreateClimatologicalArcGISRasters, u'binType', 
    808     typeMetadata=UnicodeStringTypeMetadata(allowedValues=[u'Daily', u'Monthly', u'Cumulative'], makeLowercase=True), 
     808    typeMetadata=UnicodeStringTypeMetadata(allowedValues=[u'Daily', u'Monthly', u'Cumulative', u'ENSO Daily', u'ENSO Monthly', u'ENSO Cumulative'], makeLowercase=True), 
    809809    description=_( 
    810810u"""Climatology bins to use, one of: 
     
    841841  from the entire dataset. The Bin Duration parameter is ignored. 
    842842 
     843* ENSO Daily, ENSO Monthly, ENSO Cumulative - the same as above, 
     844  except each of the bins above will be split into three, based on the 
     845  phase of the `El Nino Southern Oscillation (ENSO) <http://en.wikipedia.org/wiki/ENSO>`_, 
     846  as determined by the Oceanic Nino Index (ONI) calculated by the 
     847  `NOAA NCEP Climate Prediction Center <http://www.cpc.ncep.noaa.gov/products/analysis_monitoring/ensostuff/ensoyears.shtml>`_. 
     848  The ONI classifies each month into one of three phases: neutral, El 
     849  Nino, or La Nina. This tool first classifies input images according 
     850  to their dates into ENSO phases (it downloads ONI data from the 
     851  `NOAA Earth System Research Laboratory <http://www.esrl.noaa.gov/psd/data/climateindices/list/>`_), 
     852  then produces a climatology bin for each phase. For example, if you 
     853  request ENSO Cumulative bins, three bins will be produced: one for 
     854  all images occurring in neutral months, one for all in El Nino 
     855  months, and one for all in La Nina months. If you request ENSO 
     856  Monthly bins, 36 bins will be produced: one for each combination of 
     857  the 12 months and the three ENSO phases. 
     858 
    843859For Daily and Monthly, to adjust when the bins start (e.g. to center a 
    8448604-bin seasonal climatology on solstices and equinoxes), use the Start 
     
    897913  if 1-day bins, "Xday" if multi-day bins (X is replaced by the 
    898914  duration), "Monthly" if 1-month bins, "Xmonth" if multi-month bins, 
    899   or "Cumulative". 
     915  or "Cumulative". If an ENSO bin type is used, "ENSO_" will be 
     916  prepended to those strings (e.g. "ENSO_Daily", "ENSO_Monthly"). 
    900917 
    901918* %(ClimatologyBinName)s - name of the climatology bin corresponding 
     
    905922  replaced by the last day), "monthXX" for 1-month bins (XX is 
    906923  replaced by the month), "monthXXtoYY" (XX is replaced by the first 
    907   month of the bin, YY by the last month), or "cumulative". 
     924  month of the bin, YY by the last month), or "cumulative". If an ENSO 
     925  bin type is used, "neutral_", "ElNino_", and "LaNina_" will be 
     926  prepended to those strings for each of the three ENSO phased rasters 
     927  (e.g. "neutral_cumulative", "ElNino_cumulative", and 
     928  "LaNina_cumulative" when "ENSO Cumulative" bins are requested). 
    908929 
    909930* %(Statistic)s - statistic that was calculated, in lowercase and with 
  • MGET/Branches/Jason/PythonPackage/src/GeoEco/DataProducts/UMaineOMG.py

    r939 r1020  
    17501750 
    17511751AddArgumentMetadata(ROMSCoSiNE3D.CreateClimatologicalArcGISRasters, u'binType', 
    1752     typeMetadata=UnicodeStringTypeMetadata(allowedValues=[u'Daily', u'Monthly', u'Cumulative'], makeLowercase=True), 
     1752    typeMetadata=UnicodeStringTypeMetadata(allowedValues=[u'Daily', u'Monthly', u'Cumulative', u'ENSO Daily', u'ENSO Monthly', u'ENSO Cumulative'], makeLowercase=True), 
    17531753    description=_( 
    17541754u"""Climatology bins to use, one of: 
     
    17851785  from the entire dataset. The Bin Duration parameter is ignored. 
    17861786 
     1787* ENSO Daily, ENSO Monthly, ENSO Cumulative - the same as above, 
     1788  except each of the bins above will be split into three, based on the 
     1789  phase of the `El Nino Southern Oscillation (ENSO) <http://en.wikipedia.org/wiki/ENSO>`_, 
     1790  as determined by the Oceanic Nino Index (ONI) calculated by the 
     1791  `NOAA NCEP Climate Prediction Center <http://www.cpc.ncep.noaa.gov/products/analysis_monitoring/ensostuff/ensoyears.shtml>`_. 
     1792  The ONI classifies each month into one of three phases: neutral, El 
     1793  Nino, or La Nina. This tool first classifies input images according 
     1794  to their dates into ENSO phases (it downloads ONI data from the 
     1795  `NOAA Earth System Research Laboratory <http://www.esrl.noaa.gov/psd/data/climateindices/list/>`_), 
     1796  then produces a climatology bin for each phase. For example, if you 
     1797  request ENSO Cumulative bins, three bins will be produced: one for 
     1798  all images occurring in neutral months, one for all in El Nino 
     1799  months, and one for all in La Nina months. If you request ENSO 
     1800  Monthly bins, 36 bins will be produced: one for each combination of 
     1801  the 12 months and the three ENSO phases. 
     1802 
    17871803For Daily and Monthly, to adjust when the bins start (e.g. to center a 
    178818044-bin seasonal climatology on solstices and equinoxes), use the Start 
     
    18391855  if 1-day bins, "Xday" if multi-day bins (X is replaced by the 
    18401856  duration), "Monthly" if 1-month bins, "Xmonth" if multi-month bins, 
    1841   or "Cumulative". 
     1857  or "Cumulative". If an ENSO bin type is used, "ENSO_" will be 
     1858  prepended to those strings (e.g. "ENSO_Daily", "ENSO_Monthly"). 
    18421859 
    18431860* %(ClimatologyBinName)s - name of the climatology bin corresponding 
     
    18471864  replaced by the last day), "monthXX" for 1-month bins (XX is 
    18481865  replaced by the month), "monthXXtoYY" (XX is replaced by the first 
    1849   month of the bin, YY by the last month), or "cumulative". 
     1866  month of the bin, YY by the last month), or "cumulative". If an ENSO 
     1867  bin type is used, "neutral_", "ElNino_", and "LaNina_" will be 
     1868  prepended to those strings for each of the three ENSO phased rasters 
     1869  (e.g. "neutral_cumulative", "ElNino_cumulative", and 
     1870  "LaNina_cumulative" when "ENSO Cumulative" bins are requested). 
    18501871 
    18511872* %(Statistic)s - statistic that was calculated, in lowercase and with