From 33e2f6bbbc7564aeb545934eca2c1da4bc85c3b5 Mon Sep 17 00:00:00 2001 From: "adrian.sonnenschein" Date: Thu, 18 Apr 2024 16:05:01 -0400 Subject: [PATCH] enable arps in subs --- planet/cli/subscriptions.py | 1 + planet/subscription_request.py | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/planet/cli/subscriptions.py b/planet/cli/subscriptions.py index 26df617b..ead46f24 100644 --- a/planet/cli/subscriptions.py +++ b/planet/cli/subscriptions.py @@ -406,6 +406,7 @@ def request_catalog(item_types, required=True, help='Planetary variable type.', type=click.Choice([ + "analysis_ready_ps", "biomass_proxy", "land_surface_temperature", "soil_water_content", diff --git a/planet/subscription_request.py b/planet/subscription_request.py index 63bdcd93..86a59d85 100644 --- a/planet/subscription_request.py +++ b/planet/subscription_request.py @@ -280,7 +280,8 @@ def catalog_source( def planetary_variable_source( - var_type: Literal["biomass_proxy", + var_type: Literal["analysis_ready_ps", + "biomass_proxy", "land_surface_temperature", "soil_water_content", "vegetation_optical_depth", @@ -304,9 +305,10 @@ def planetary_variable_source( Note: this function does not validate variable types and ids. Parameters: - var_type: one of "biomass_proxy", "land_surface_temperature", - "soil_water_content", "vegetation_optical_depth", - "forest_carbon_diligence_30m, or field_boundaries_sentinel_2_p1m". + var_type: one of "analysis_ready_ps", "biomass_proxy", + "land_surface_temperature", "soil_water_content", + "vegetation_optical_depth", "forest_carbon_diligence_30m, + or field_boundaries_sentinel_2_p1m". var_id: a value such as "SWC-AMSR2-C_V1.0_100" for soil water content derived from AMSR2 C band. geometry: The area of interest of the subscription that will be