From f662f317a9f6fb515b2b680bbba17ebbb1d04d49 Mon Sep 17 00:00:00 2001 From: l2ss-py bot Date: Mon, 7 Oct 2024 19:00:50 +0000 Subject: [PATCH 1/3] /version 2.13.0a0 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 48b09d38..d84427f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ [tool.poetry] name = "l2ss-py" -version = "2.12.0a3" +version = "2.13.0a0" description = "L2 Subsetter Service" authors = ["podaac-tva "] license = "Apache-2.0" From 3113b4e164b51d0e366f418c014fdc5b40a4d84c Mon Sep 17 00:00:00 2001 From: SeaDAS Date: Wed, 23 Oct 2024 13:17:18 -0400 Subject: [PATCH 2/3] Handle OB.DAAC files, which do not have time variables (#296) Co-authored-by: aynur --- podaac/subsetter/subset.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/podaac/subsetter/subset.py b/podaac/subsetter/subset.py index d1b9e461..7124637e 100644 --- a/podaac/subsetter/subset.py +++ b/podaac/subsetter/subset.py @@ -560,6 +560,10 @@ def compute_time_variable_name(dataset: xr.Dataset, lat_var: xr.Variable, total_ if var_name not in total_time_vars and 'time' in var_name_time.lower() and dataset[var_name].squeeze().dims[0] in lat_var.squeeze().dims: return var_name + # OB.DAAC data does not have a time variable. Returning the following field of a composite time value to avoid exceptions. + if '__scan_line_attributes__day' in dataset.data_vars: + return '__scan_line_attributes__day' + raise ValueError('Unable to determine time variable') From 1a685882ef560151e4e7a5fccce0c51d53e7c563 Mon Sep 17 00:00:00 2001 From: l2ss-py bot Date: Wed, 23 Oct 2024 17:25:25 +0000 Subject: [PATCH 3/3] /version 2.13.0a1 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d84427f6..1ed41d41 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ [tool.poetry] name = "l2ss-py" -version = "2.13.0a0" +version = "2.13.0a1" description = "L2 Subsetter Service" authors = ["podaac-tva "] license = "Apache-2.0"