Skip to content

Commit

Permalink
Merge pull request #1058 from planetlabs/update-bundle-data-to-2024-08
Browse files Browse the repository at this point in the history
Update included bundle spec to 2024-08-12 version
  • Loading branch information
goldenberg authored Oct 18, 2024
2 parents 5491c76 + bd73377 commit 130df43
Show file tree
Hide file tree
Showing 4 changed files with 192 additions and 5 deletions.
2 changes: 1 addition & 1 deletion planet/data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This directory contains static external resources used by the codebase.

### Files

* `orders_product_bundle_2023-02-24.json`
* `orders_product_bundle_2024-08-12.json`

### Description

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,20 @@
]
}
},
"radiance_hdf5": {
"name": "Analytic Radiance (TOAR)",
"description": "Calibrated to top of atmosphere radiance.",
"bands": "all",
"rectification": "orthorectified",
"radiometry": "at-sensor",
"fileType": "HDF5",
"auxiliaryFiles": "udm",
"assets": {
"TanagerScene": [
"ortho_radiance_hdf5"
]
}
},
"analytic_udm2": {
"name": "Analytic Radiance (TOAR)",
"description": "Calibrated to top of atmosphere radiance",
Expand Down Expand Up @@ -93,6 +107,10 @@
"ortho_analytic",
"ortho_analytic_udm",
"ortho_analytic_udm2"
],
"PelicanScene": [
"ortho_analytic",
"ortho_analytic_udm2"
]
}
},
Expand Down Expand Up @@ -191,6 +209,12 @@
],
"SkySatScene": [
"ortho_visual"
],
"TanagerScene": [
"ortho_visual"
],
"PelicanScene": [
"ortho_visual"
]
}
},
Expand Down Expand Up @@ -273,6 +297,20 @@
]
}
},
"basic_radiance_hdf5": {
"name": "Basic Analytic Radiance (TOAR)",
"description": "Calibrated to top of atmosphere radiance. Includes geolocation array.",
"bands": "all",
"rectification": "non-orthorectified",
"radiometry": "at-sensor",
"fileType": "HDF5",
"auxiliaryFiles": "udm",
"assets": {
"TanagerScene": [
"basic_radiance_hdf5"
]
}
},
"basic_analytic_udm2": {
"name": "Basic Analytic Radiance (TOAR)",
"description": "Calibrated to top of atmosphere radiance - includes RPC text file for georeferencing",
Expand All @@ -293,6 +331,11 @@
"basic_analytic_rpc",
"basic_analytic_udm",
"basic_analytic_udm2"
],
"PelicanScene": [
"basic_analytic",
"basic_analytic_rpc",
"basic_analytic_udm2"
]
}
},
Expand Down Expand Up @@ -443,6 +486,20 @@
]
}
},
"sr_hdf5": {
"name": "Surface Reflectance",
"description": "Corrected for surface reflectance.",
"bands": "all",
"rectification": "orthorectified",
"radiometry": "surface reflectance",
"fileType": "HDF5",
"auxiliaryFiles": "udm",
"assets": {
"TanagerScene": [
"ortho_sr_hdf5"
]
}
},
"analytic_sr_udm2": {
"name": "Surface Reflectance 4b",
"description": "Corrected for surface reflectance – recommended for most analytic applications, 4 band",
Expand Down Expand Up @@ -472,6 +529,10 @@
"ortho_analytic_sr",
"ortho_analytic_udm",
"ortho_analytic_udm2"
],
"PelicanScene": [
"ortho_analytic_sr",
"ortho_analytic_udm2"
]
}
},
Expand Down Expand Up @@ -514,6 +575,20 @@
]
}
},
"basic_sr_hdf5": {
"name": "Surface Reflectance",
"description": "Corrected for surface reflectance – recommended for most analytic applications. Includes geolocation array.",
"bands": "all",
"rectification": "non-orthorectified",
"radiometry": "surface reflectance",
"fileType": "HDF5",
"auxiliaryFiles": "udm",
"assets": {
"TanagerScene": [
"basic_sr_hdf5"
]
}
},
"basic_panchromatic": {
"name": "Basic Panchromatic",
"description": "Unrectified panchromatic band - includes RPC text file for georeferencing",
Expand All @@ -526,6 +601,11 @@
"basic_panchromatic",
"basic_panchromatic_rpc",
"basic_panchromatic_udm2"
],
"PelicanScene": [
"basic_panchromatic",
"basic_panchromatic_rpc",
"basic_panchromatic_udm2"
]
}
},
Expand Down Expand Up @@ -563,6 +643,29 @@
]
}
},
"panchromatic_udm2": {
"name": "Panchromatic",
"description": "Panchromatic band, calibrated to top of atmosphere radiance",
"bands": "panchromatic",
"rectification": "orthorectified",
"radiometry": "at-sensor",
"fileType": "GeoTIFF",
"auxiliaryFiles": "udm2",
"assets": {
"SkySatCollect": [
"ortho_panchromatic",
"ortho_panchromatic_udm2"
],
"SkySatScene": [
"ortho_panchromatic",
"ortho_panchromatic_udm2"
],
"PelicanScene": [
"ortho_panchromatic",
"ortho_pansharpened_udm2"
]
}
},
"panchromatic_dn": {
"name": "Panchromatic DN",
"description": "Uncalibrated panchromatic band - suitable for custom radiometric processing",
Expand Down Expand Up @@ -642,6 +745,10 @@
"ortho_pansharpened",
"ortho_pansharpened_udm",
"ortho_pansharpened_udm2"
],
"PelicanScene": [
"ortho_pansharpened",
"ortho_pansharpened_udm2"
]
}
},
Expand All @@ -659,9 +766,77 @@
],
"SkySatCollect": [
"basic_l1a_all_frames"
],
"PelicanScene": [
"basic_l1a_panchromatic",
"basic_l1a_panchromatic_rpc"
]
}
},
"methane_quicklook": {
"name": "Methane QuickLook",
"description": "Methane QuickLook will have all plumes in kg/hr within an image that can be identified by a human operator.",
"bands": "N/A",
"rectification": "orthorectified",
"radiometry": "N/A",
"fileType": "TIFF and JSON",
"assets": {
"TanagerMethane": [
"ortho_ql_ch4",
"ortho_visual",
"ortho_beta_udm",
"recent_monthly_basemap",
"ql_ch4_json"
]
}
},
"quality_controlled_methane": {
"name": "Quality Controlled Methane",
"description": "Quality Controlled Methane product where all plumes in kg/hr have had additional reviews to wind speed, background and additional environmental contexts.",
"bands": "N/A",
"rectification": "orthorectified",
"radiometry": "N/A",
"fileType": "TIFF and JSON",
"assets": {
"TanagerMethane": [
"ortho_qc_ch4",
"qc_ch4_json"
]
}
},
"methane": {
"name": "Methane",
"description": "Methane bundle includes both the Methane QuickLook and Quality Controlled products.",
"bands": "N/A",
"rectification": "orthorectified",
"radiometry": "N/A",
"fileType": "TIFF and JSON",
"assets": {
"TanagerMethane": [
"ortho_ql_ch4",
"ortho_visual",
"ortho_beta_udm",
"recent_monthly_basemap",
"ql_ch4_json",
"ortho_qc_ch4",
"qc_ch4_json"
]
}
},
"version": "2023-02-24"
"integrated_methane_enhancement": {
"name": "Integrated Methane Enhancement",
"description": "Integrated Methane Enhancement (IME) in kg where all plumes have additional reviews to wind speed, background and additional environmental contexts.",
"bands": "N/A",
"rectification": "orthorectified",
"radiometry": "N/A",
"fileType": "TIFF and JSON",
"assets": {
"TanagerMethane": [
"ortho_ql_ime_ch4",
"ql_ime_ch4_json"
]
}
}
},
"version": "2024-08-12"
}
2 changes: 1 addition & 1 deletion planet/specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import itertools
from .constants import DATA_DIR

PRODUCT_BUNDLE_SPEC_NAME = 'orders_product_bundle_2023-02-24.json'
PRODUCT_BUNDLE_SPEC_NAME = 'orders_product_bundle_2024-08-12.json'
SUPPORTED_TOOLS = [
'bandmath',
'clip',
Expand Down
16 changes: 14 additions & 2 deletions tests/unit/test_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,16 @@
'panchromatic_dn_udm2',
'pansharpened',
'pansharpened_udm2',
'basic_l1a_dn'
'basic_l1a_dn',
'radiance_hdf5',
'basic_radiance_hdf5',
'sr_hdf5',
'basic_sr_hdf5',
'panchromatic_udm2',
'methane_quicklook',
'quality_controlled_methane',
'integrated_methane_enhancement',
'methane',
]
# must be a valid item type for TEST_PRODUCT_BUNDLE
TEST_ITEM_TYPE = 'PSScene'
Expand All @@ -64,7 +73,10 @@
'SkySatCollect',
'Sentinel2L1C',
'MYD09GQ',
'SkySatScene'
'SkySatScene',
'TanagerScene',
'TanagerMethane',
'PelicanScene',
]
TEST_ASSET_TYPE = "basic_udm2"

Expand Down

0 comments on commit 130df43

Please sign in to comment.