From 4bcbcb60032d860c31559e657f4d62ef3299cfe7 Mon Sep 17 00:00:00 2001 From: sudhamurthy Date: Fri, 29 Mar 2024 16:12:12 -0400 Subject: [PATCH 1/3] added CF override for the metadata bug in ATL19 in crs_txt --- hoss/hoss_config.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hoss/hoss_config.json b/hoss/hoss_config.json index cefe364..22dba64 100644 --- a/hoss/hoss_config.json +++ b/hoss/hoss_config.json @@ -259,6 +259,20 @@ ], "_Description": "ATL16 has edge-aligned grid cells." }, + { + "Applicability": { + "Mission": "ICESat2", + "ShortNamePath": "ATL19", + "Variable_Pattern": "/north_polar/crs" + }, + "Attributes": [ + { + "Name": "crs_wkt", + "Value": "PROJCS[\"NSIDC Sea Ice Polar Stereographic North\",GEOGCS[\"Unspecified datum based upon the Hughes 1980 ellipsoid\",DATUM[\"Not_specified_based_on_Hughes_1980_ellipsoid\",SPHEROID[\"Hughes 1980\",6378273,298.279411123061,AUTHORITY[\"EPSG\",\"7058\"]],AUTHORITY[\"EPSG\",\"6054\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4054\"]],PROJECTION[\"Polar_Stereographic\"],PARAMETER[\"latitude_of_origin\",70],PARAMETER[\"central_meridian\",-45],PARAMETER[\"scale_factor\",1],PARAMETER[\"false_easting\",0],PARAMETER[\"false_northing\",0],UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]],AXIS[\"X\",EAST],AXIS[\"Y\",NORTH],AUTHORITY[\"EPSG\",\"3411\"]]" + } + ], + "_Description": "Remove leading slash in ATL19 for crs_wkt attribute" + }, { "Applicability": { "Mission": "ICESat2", From 21755cf4aaddc1b02c5e2960957e6777dcf7aa3b Mon Sep 17 00:00:00 2001 From: sudhamurthy Date: Fri, 29 Mar 2024 19:28:18 -0400 Subject: [PATCH 2/3] added version update --- CHANGELOG.md | 8 ++++++++ docker/service_version.txt | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2fe83c..94bd518 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ + +## v1.0.3 +### 2024-3-29 + +This version of HOSS handles the error in the crs_wkt attribute in ATL19 where the +north polar crs variable has a leading slash in the crs_wkt attribute. This causes +the errors when the projection is being interpreted from the crs variable attributes + ## v1.0.2 ### 2024-2-26 diff --git a/docker/service_version.txt b/docker/service_version.txt index 6d7de6e..21e8796 100644 --- a/docker/service_version.txt +++ b/docker/service_version.txt @@ -1 +1 @@ -1.0.2 +1.0.3 From e41330401a18640499467fe6c1da5d53302dbba7 Mon Sep 17 00:00:00 2001 From: sudhamurthy Date: Tue, 2 Apr 2024 15:25:08 -0400 Subject: [PATCH 3/3] updates made based on PR feedback --- CHANGELOG.md | 6 +++--- hoss/hoss_config.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94bd518..830ac23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,10 @@ - ## v1.0.3 ### 2024-3-29 This version of HOSS handles the error in the crs_wkt attribute in ATL19 where the -north polar crs variable has a leading slash in the crs_wkt attribute. This causes -the errors when the projection is being interpreted from the crs variable attributes +north polar crs variable has a leading iquotation mark escaped by back slash in the +crs_wkt attribute. This causes errors when the projection is being interpreted from +the crs variable attributes. ## v1.0.2 ### 2024-2-26 diff --git a/hoss/hoss_config.json b/hoss/hoss_config.json index 22dba64..c214d6b 100644 --- a/hoss/hoss_config.json +++ b/hoss/hoss_config.json @@ -271,7 +271,7 @@ "Value": "PROJCS[\"NSIDC Sea Ice Polar Stereographic North\",GEOGCS[\"Unspecified datum based upon the Hughes 1980 ellipsoid\",DATUM[\"Not_specified_based_on_Hughes_1980_ellipsoid\",SPHEROID[\"Hughes 1980\",6378273,298.279411123061,AUTHORITY[\"EPSG\",\"7058\"]],AUTHORITY[\"EPSG\",\"6054\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4054\"]],PROJECTION[\"Polar_Stereographic\"],PARAMETER[\"latitude_of_origin\",70],PARAMETER[\"central_meridian\",-45],PARAMETER[\"scale_factor\",1],PARAMETER[\"false_easting\",0],PARAMETER[\"false_northing\",0],UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]],AXIS[\"X\",EAST],AXIS[\"Y\",NORTH],AUTHORITY[\"EPSG\",\"3411\"]]" } ], - "_Description": "Remove leading slash in ATL19 for crs_wkt attribute" + "_Description": "Remove leading back slash and extra quotation mark in ATL19 for crs_wkt attribute" }, { "Applicability": {