In [29]:
import iris

Try opening the east coast MODIS chlorophyll from PFEG


In [30]:
url='http://oceanwatch.pfeg.noaa.gov/thredds/dodsC/satellite/ME/chla/1day'

In [31]:
c = iris.load_cube(url,'concentration_of_chlorophyll_in_sea_water')

print last time step


In [32]:
print c[-1,0,0]


concentration_of_chlorophyll_in_sea_water / (mg m-3) (longitude: 2401)
     Dimension coordinates:
          longitude                                            x
     Scalar coordinates:
          altitude: 0.0 m
          latitude: 20.0 degrees
          time: 2012-07-03 12:00:00
     Attributes:
          Conventions: COARDS, CF-1.0, Unidata Dataset Discovery v1.0, CWHDF
          Easternmost_Easting: -60.0
          Northernmost_Northing: 50.0
          Southernmost_Northing: 20.0
          Westernmost_Easting: -90.0
          acknowledgement: NOAA NESDIS COASTWATCH, NOAA SWFSC ERD
          actual_range: [  1.00000005e-03   4.64265015e+02]
          cdm_data_type: Grid
          cols: 2401
          composite: true
          contributor_name: NASA GSFC (OBPG)
          contributor_role: Source of level 2 data.
          coordsys: geographic
          creator_email: dave.foley@noaa.gov
          creator_name: NOAA CoastWatch, West Coast Node
          creator_url: http://coastwatch.pfel.noaa.gov
          cwhdf_version: 3.4
          date_created: 2012-07-07Z
          date_issued: 2012-07-07Z
          et_affine: [  0.00000000e+00   1.25000000e-02   1.25000000e-02   0.00000000e+00
 ...
          fraction_digits: 2
          gctp_datum: 12
          gctp_parm: [ 0.  0.  0.  0.  0.  0.  0.  0.  0.  0.  0.  0.  0.  0.  0.]
          gctp_sys: 0
          gctp_zone: 0
          geospatial_lat_max: 50.0
          geospatial_lat_min: 20.0
          geospatial_lat_resolution: 0.0125
          geospatial_lat_units: degrees_north
          geospatial_lon_max: -60.0
          geospatial_lon_min: -90.0
          geospatial_lon_resolution: 0.0125
          geospatial_lon_units: degrees_east
          geospatial_vertical_max: 0.0
          geospatial_vertical_min: 0.0
          geospatial_vertical_positive: up
          geospatial_vertical_units: m
          history: NASA GSFC (OBPG)
2012-07-07T23:40:20Z NOAA CoastWatch (West Coast Node)...
          id: LMEchlaS1day_20120702120000
          institution: NOAA CoastWatch, West Coast Node
          keywords: EARTH SCIENCE > Oceans > Ocean Chemistry > Chlorophyll
          keywords_vocabulary: GCMD Science Keywords
          license: The data may be used and redistributed for free but is not intended for...
          naming_authority: gov.noaa.pfel.coastwatch
          numberOfObservations: 1009133
          origin: NASA GSFC (OBPG)
          pass_date: 15523
          percentCoverage: 0.175050795335
          polygon_latitude: [ 20.  50.  50.  20.  20.]
          polygon_longitude: [-90. -90. -60. -60. -90.]
          processing_level: 3
          project: CoastWatch (http://coastwatch.noaa.gov/)
          projection: geographic
          projection_type: mapped
          references: Aqua/MODIS information: http://oceancolor.gsfc.nasa.gov/ . MODIS information:...
          rows: 2401
          satellite: Aqua
          sensor: MODIS
          source: satellite observation: Aqua, MODIS
          standard_name_vocabulary: CF-1.0
          start_time: 0.0
          summary: NOAA CoastWatch distributes chlorophyll-a concentration data from NASA's...
          time_coverage_end: 2012-07-03T00:00:00Z
          time_coverage_start: 2012-07-02T00:00:00Z
          title: Chlorophyll-a, Aqua MODIS, NPP, 0.0125 degrees, East US, EXPERIMENTAL

Try opening the Global MODIS chlorophyll from PFEG


In [27]:
url='http://oceanwatch.pfeg.noaa.gov/thredds/dodsC/satellite/MH1/chla/1day'
c = iris.load_cube(url,'concentration_of_chlorophyll_in_sea_water')

print last time step


In [36]:
print c[-1,0,0]


concentration_of_chlorophyll_in_sea_water / (mg m-3) (longitude: 2401)
     Dimension coordinates:
          longitude                                            x
     Scalar coordinates:
          altitude: 0.0 m
          latitude: 20.0 degrees
          time: 2012-07-03 12:00:00
     Attributes:
          Conventions: COARDS, CF-1.0, Unidata Dataset Discovery v1.0, CWHDF
          Easternmost_Easting: -60.0
          Northernmost_Northing: 50.0
          Southernmost_Northing: 20.0
          Westernmost_Easting: -90.0
          acknowledgement: NOAA NESDIS COASTWATCH, NOAA SWFSC ERD
          actual_range: [  1.00000005e-03   4.64265015e+02]
          cdm_data_type: Grid
          cols: 2401
          composite: true
          contributor_name: NASA GSFC (OBPG)
          contributor_role: Source of level 2 data.
          coordsys: geographic
          creator_email: dave.foley@noaa.gov
          creator_name: NOAA CoastWatch, West Coast Node
          creator_url: http://coastwatch.pfel.noaa.gov
          cwhdf_version: 3.4
          date_created: 2012-07-07Z
          date_issued: 2012-07-07Z
          et_affine: [  0.00000000e+00   1.25000000e-02   1.25000000e-02   0.00000000e+00
 ...
          fraction_digits: 2
          gctp_datum: 12
          gctp_parm: [ 0.  0.  0.  0.  0.  0.  0.  0.  0.  0.  0.  0.  0.  0.  0.]
          gctp_sys: 0
          gctp_zone: 0
          geospatial_lat_max: 50.0
          geospatial_lat_min: 20.0
          geospatial_lat_resolution: 0.0125
          geospatial_lat_units: degrees_north
          geospatial_lon_max: -60.0
          geospatial_lon_min: -90.0
          geospatial_lon_resolution: 0.0125
          geospatial_lon_units: degrees_east
          geospatial_vertical_max: 0.0
          geospatial_vertical_min: 0.0
          geospatial_vertical_positive: up
          geospatial_vertical_units: m
          history: NASA GSFC (OBPG)
2012-07-07T23:40:20Z NOAA CoastWatch (West Coast Node)...
          id: LMEchlaS1day_20120702120000
          institution: NOAA CoastWatch, West Coast Node
          keywords: EARTH SCIENCE > Oceans > Ocean Chemistry > Chlorophyll
          keywords_vocabulary: GCMD Science Keywords
          license: The data may be used and redistributed for free but is not intended for...
          naming_authority: gov.noaa.pfel.coastwatch
          numberOfObservations: 1009133
          origin: NASA GSFC (OBPG)
          pass_date: 15523
          percentCoverage: 0.175050795335
          polygon_latitude: [ 20.  50.  50.  20.  20.]
          polygon_longitude: [-90. -90. -60. -60. -90.]
          processing_level: 3
          project: CoastWatch (http://coastwatch.noaa.gov/)
          projection: geographic
          projection_type: mapped
          references: Aqua/MODIS information: http://oceancolor.gsfc.nasa.gov/ . MODIS information:...
          rows: 2401
          satellite: Aqua
          sensor: MODIS
          source: satellite observation: Aqua, MODIS
          standard_name_vocabulary: CF-1.0
          start_time: 0.0
          summary: NOAA CoastWatch distributes chlorophyll-a concentration data from NASA's...
          time_coverage_end: 2012-07-03T00:00:00Z
          time_coverage_start: 2012-07-02T00:00:00Z
          title: Chlorophyll-a, Aqua MODIS, NPP, 0.0125 degrees, East US, EXPERIMENTAL

In [ ]: