From 38eef71865a609dfbdbee2235d0d21f7371f75e2 Mon Sep 17 00:00:00 2001 From: Nikki <17799906+nikki-t@users.noreply.github.com> Date: Wed, 15 Jan 2025 16:13:56 -0500 Subject: [PATCH] Update vcrpy and cassettes to resolve missing version_string --- poetry.lock | 16 +++--- pyproject.toml | 2 +- tests/vcr_cassettes/cmr_query.yaml | 74 ++++++++++++++-------------- tests/vcr_cassettes/publish_cnm.yaml | 40 +++++++-------- 4 files changed, 66 insertions(+), 66 deletions(-) diff --git a/poetry.lock b/poetry.lock index f102a71..dd43169 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2956,8 +2956,8 @@ files = [ [package.dependencies] numpy = [ {version = ">=1.22.4", markers = "python_version < \"3.11\""}, - {version = ">=1.23.2", markers = "python_version == \"3.11\""}, {version = ">=1.26.0", markers = "python_version >= \"3.12\""}, + {version = ">=1.23.2", markers = "python_version == \"3.11\""}, ] python-dateutil = ">=2.8.2" pytz = ">=2020.1" @@ -3448,8 +3448,8 @@ astroid = ">=3.3.8,<=3.4.0-dev0" colorama = {version = ">=0.4.5", markers = "sys_platform == \"win32\""} dill = [ {version = ">=0.2", markers = "python_version < \"3.11\""}, - {version = ">=0.3.6", markers = "python_version >= \"3.11\" and python_version < \"3.12\""}, {version = ">=0.3.7", markers = "python_version >= \"3.12\""}, + {version = ">=0.3.6", markers = "python_version >= \"3.11\" and python_version < \"3.12\""}, ] isort = ">=4.2.5,<5.13.0 || >5.13.0,<6" mccabe = ">=0.6,<0.8" @@ -4833,20 +4833,20 @@ zstd = ["zstandard (>=0.18.0)"] [[package]] name = "vcrpy" -version = "6.0.2" +version = "7.0.0" description = "Automatically mock your HTTP interactions to simplify and speed up testing" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "vcrpy-6.0.2-py2.py3-none-any.whl", hash = "sha256:40370223861181bc76a5e5d4b743a95058bb1ad516c3c08570316ab592f56cad"}, - {file = "vcrpy-6.0.2.tar.gz", hash = "sha256:88e13d9111846745898411dbc74a75ce85870af96dd320d75f1ee33158addc09"}, + {file = "vcrpy-7.0.0-py2.py3-none-any.whl", hash = "sha256:55791e26c18daa363435054d8b35bd41a4ac441b6676167635d1b37a71dbe124"}, + {file = "vcrpy-7.0.0.tar.gz", hash = "sha256:176391ad0425edde1680c5b20738ea3dc7fb942520a48d2993448050986b3a50"}, ] [package.dependencies] PyYAML = "*" urllib3 = [ - {version = "*", markers = "platform_python_implementation != \"PyPy\" and python_version >= \"3.10\""}, {version = "<2", markers = "platform_python_implementation == \"PyPy\""}, + {version = "*", markers = "platform_python_implementation != \"PyPy\" and python_version >= \"3.10\""}, ] wrapt = "*" yarl = "*" @@ -5124,4 +5124,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "2beb816181656400d3379536860ff37b4c6a1c6d1347af259fdf4291fad236f5" +content-hash = "5544dc066e847ce404ca964cd9be610ab31a3c68a6c235ea47e0ab8655d307f6" diff --git a/pyproject.toml b/pyproject.toml index d9991f2..49d37ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ python-dotenv = "^1.0.0" geojson = "^3.1.0" accept-types = "^0.4.1" moto = "^5.0.9" -vcrpy = "^6.0.1" +vcrpy = "^7.0.0" python-cmr = "^0.13.0" [tool.poetry.group.dev.dependencies] diff --git a/tests/vcr_cassettes/cmr_query.yaml b/tests/vcr_cassettes/cmr_query.yaml index 0034f5f..ec4fee9 100644 --- a/tests/vcr_cassettes/cmr_query.yaml +++ b/tests/vcr_cassettes/cmr_query.yaml @@ -14,7 +14,7 @@ interactions: uri: https://cmr.earthdata.nasa.gov/search/granules.umm_json?short_name=SWOT_L2_HR_RiverSP_2.0&revision_date%5B%5D=2024-06-30T00:00:00Z,2024-06-30T12:00:00Z&page_size=0 response: body: - string: '{"hits":118,"took":206,"items":[]}' + string: '{"hits":118,"took":88,"items":[]}' headers: Access-Control-Allow-Origin: - '*' @@ -24,19 +24,19 @@ interactions: CMR-Hits: - '118' CMR-Request-Id: - - 3251a0c0-42d3-4387-bd9f-7c087cb4e3e1 + - 500f3a4c-f44c-427f-9f92-c1801c78ed01 CMR-Took: - - '207' + - '106' Connection: - keep-alive Content-MD5: - - 8ed25fd0dd60d40594a9c7645db484b7 + - 6e2b9cdfbe8774425317301b0d563135 Content-SHA1: - - c773d40f88dcab15f6630f64df8f26bf3aa85469 + - 62d546c7c108e60e5b0bd11aac7f4475b1f93133 Content-Type: - application/vnd.nasa.cmr.umm_results+json;version=1.6.6; charset=utf-8 Date: - - Thu, 24 Oct 2024 15:22:59 GMT + - Wed, 15 Jan 2025 21:11:33 GMT Server: - ServerTokens ProductOnly Strict-Transport-Security: @@ -46,9 +46,9 @@ interactions: Vary: - Accept-Encoding, User-Agent Via: - - 1.1 1e94f8bfedca9b1ad3b9259538f9432a.cloudfront.net (CloudFront) + - 1.1 2e1ee7384096c6afb6c1cfc9e9f5f23e.cloudfront.net (CloudFront) X-Amz-Cf-Id: - - M7W3Ckr1IRQDAjKJA4zE09TofRMLP2Bya8OdfiHJJPuFak56oszHlw== + - 56BBPMTBqtS_gwpUw5Mi-Wc2yW1OHQVwXeaunqriDrP3zUI0HVXrpA== X-Amz-Cf-Pop: - LAX50-C1 X-Cache: @@ -58,11 +58,11 @@ interactions: X-Frame-Options: - SAMEORIGIN X-Request-Id: - - M7W3Ckr1IRQDAjKJA4zE09TofRMLP2Bya8OdfiHJJPuFak56oszHlw== + - 56BBPMTBqtS_gwpUw5Mi-Wc2yW1OHQVwXeaunqriDrP3zUI0HVXrpA== X-XSS-Protection: - 1; mode=block content-length: - - '34' + - '33' status: code: 200 message: OK @@ -81,7 +81,7 @@ interactions: uri: https://cmr.earthdata.nasa.gov/search/granules.umm_json?short_name=SWOT_L2_HR_RiverSP_2.0&revision_date%5B%5D=2024-06-30T00:00:00Z,2024-06-30T12:00:00Z&page_size=118 response: body: - string: '{"hits":118,"took":313,"items":[{"meta":{"concept-type":"granule","concept-id":"G3137977015-POCLOUD","revision-id":1,"native-id":"SWOT_L2_HR_RiverSP_Reach_017_174_EU_20240625T055813_20240625T055815_PIC0_01","collection-concept-id":"C2799438299-POCLOUD","provider-id":"POCLOUD","format":"application/vnd.nasa.cmr.umm+json","revision-date":"2024-06-30T00:42:40.194Z"},"umm":{"TemporalExtent":{"RangeDateTime":{"EndingDateTime":"2024-06-25T05:58:15.939Z","BeginningDateTime":"2024-06-25T05:58:13.052Z"}},"GranuleUR":"SWOT_L2_HR_RiverSP_Reach_017_174_EU_20240625T055813_20240625T055815_PIC0_01","AdditionalAttributes":[{"Values":["1L","2L","3L","4L","5L","6L","7L","8L","9L","10L","11L","12L","13L","14L","15L","16L","17L","18L","19L","1R","2R","3R","4R","5R","6R","7R","8R","9R","10R","11R","12R","13R","14R","15R","16R","17R","18R","19R"],"Name":"TILE"}],"MeasuredParameters":[{"QAStats":{"QAPercentMissingData":0,"QAPercentOutOfBoundsData":0},"ParameterName":"N/A"}],"SpatialExtent":{"HorizontalSpatialDomain":{"Geometry":{"BoundingRectangles":[{"WestBoundingCoordinate":54.050507667452564,"SouthBoundingCoordinate":73.26293577873935,"EastBoundingCoordinate":59.35347911332951,"NorthBoundingCoordinate":74.78543869614185}]},"Track":{"Cycle":17,"Passes":[{"Pass":174,"Tiles":["1L","2L","3L","4L","5L","6L","7L","8L","9L","10L","11L","12L","13L","14L","15L","16L","17L","18L","19L","1R","2R","3R","4R","5R","6R","7R","8R","9R","10R","11R","12R","13R","14R","15R","16R","17R","18R","19R"]}]}}},"ProviderDates":[{"Type":"Insert","Date":"2024-06-30T00:42:34.330Z"},{"Type":"Update","Date":"2024-06-30T00:42:34.331Z"}],"CollectionReference":{"Version":"2.0","ShortName":"SWOT_L2_HR_RiverSP_2.0"},"PGEVersionClass":{"PGEName":"PGE_L2_HR_RiverSP","PGEVersion":"5.0.4"},"RelatedUrls":[{"URL":"https://archive.swot.podaac.earthdata.nasa.gov/podaac-swot-ops-cumulus-protected/SWOT_L2_HR_RiverSP_2.0/SWOT_L2_HR_RiverSP_Reach_017_174_EU_20240625T055813_20240625T055815_PIC0_01.rc.xml","Description":"Download + string: '{"hits":118,"took":125,"items":[{"meta":{"concept-type":"granule","concept-id":"G3137977015-POCLOUD","revision-id":1,"native-id":"SWOT_L2_HR_RiverSP_Reach_017_174_EU_20240625T055813_20240625T055815_PIC0_01","collection-concept-id":"C2799438299-POCLOUD","provider-id":"POCLOUD","format":"application/vnd.nasa.cmr.umm+json","revision-date":"2024-06-30T00:42:40.194Z"},"umm":{"TemporalExtent":{"RangeDateTime":{"EndingDateTime":"2024-06-25T05:58:15.939Z","BeginningDateTime":"2024-06-25T05:58:13.052Z"}},"GranuleUR":"SWOT_L2_HR_RiverSP_Reach_017_174_EU_20240625T055813_20240625T055815_PIC0_01","AdditionalAttributes":[{"Values":["1L","2L","3L","4L","5L","6L","7L","8L","9L","10L","11L","12L","13L","14L","15L","16L","17L","18L","19L","1R","2R","3R","4R","5R","6R","7R","8R","9R","10R","11R","12R","13R","14R","15R","16R","17R","18R","19R"],"Name":"TILE"}],"MeasuredParameters":[{"QAStats":{"QAPercentMissingData":0,"QAPercentOutOfBoundsData":0},"ParameterName":"N/A"}],"SpatialExtent":{"HorizontalSpatialDomain":{"Geometry":{"BoundingRectangles":[{"WestBoundingCoordinate":54.050507667452564,"SouthBoundingCoordinate":73.26293577873935,"EastBoundingCoordinate":59.35347911332951,"NorthBoundingCoordinate":74.78543869614185}]},"Track":{"Cycle":17,"Passes":[{"Pass":174,"Tiles":["1L","2L","3L","4L","5L","6L","7L","8L","9L","10L","11L","12L","13L","14L","15L","16L","17L","18L","19L","1R","2R","3R","4R","5R","6R","7R","8R","9R","10R","11R","12R","13R","14R","15R","16R","17R","18R","19R"]}]}}},"ProviderDates":[{"Type":"Insert","Date":"2024-06-30T00:42:34.330Z"},{"Type":"Update","Date":"2024-06-30T00:42:34.331Z"}],"CollectionReference":{"Version":"2.0","ShortName":"SWOT_L2_HR_RiverSP_2.0"},"PGEVersionClass":{"PGEName":"PGE_L2_HR_RiverSP","PGEVersion":"5.0.4"},"RelatedUrls":[{"URL":"https://archive.swot.podaac.earthdata.nasa.gov/podaac-swot-ops-cumulus-protected/SWOT_L2_HR_RiverSP_2.0/SWOT_L2_HR_RiverSP_Reach_017_174_EU_20240625T055813_20240625T055815_PIC0_01.rc.xml","Description":"Download SWOT_L2_HR_RiverSP_Reach_017_174_EU_20240625T055813_20240625T055815_PIC0_01.rc.xml","Type":"EXTENDED METADATA"},{"URL":"s3://podaac-swot-ops-cumulus-protected/SWOT_L2_HR_RiverSP_2.0/SWOT_L2_HR_RiverSP_Reach_017_174_EU_20240625T055813_20240625T055815_PIC0_01.rc.xml","Description":"This link provides direct download access via S3 to the granule","Type":"EXTENDED @@ -2805,21 +2805,21 @@ interactions: CMR-Hits: - '118' CMR-Request-Id: - - c91fe32a-111c-40b8-b69d-2eebd39bc30c + - 8e666a56-d543-426e-83a5-ceba3e1cdb02 CMR-Search-After: - '["pocloud",1719436235696,3138568332]' CMR-Took: - - '345' + - '142' Connection: - keep-alive Content-MD5: - - ff450a751f996ca6d4d0bcdd3b2b7c4d + - b504173da424374581d5346fda613f6a Content-SHA1: - - 90331994aaab566ce6d530c2d9983d98af58b93b + - fb4ade41508f3bf68c6bb79e6ac0f87b2c2e7fac Content-Type: - application/vnd.nasa.cmr.umm_results+json;version=1.6.6; charset=utf-8 Date: - - Thu, 24 Oct 2024 15:23:00 GMT + - Wed, 15 Jan 2025 21:11:33 GMT Server: - ServerTokens ProductOnly Strict-Transport-Security: @@ -2829,9 +2829,9 @@ interactions: Vary: - Accept-Encoding, User-Agent Via: - - 1.1 0931eacdfabebfd9816e3573b4bf15b4.cloudfront.net (CloudFront) + - 1.1 c5d2fc4501e84a29df03002dc65dfcb4.cloudfront.net (CloudFront) X-Amz-Cf-Id: - - 1LPnyeJeFMWBL9OXC243y2DMuY1I7Lo1rJ6NPbJlm0I1TM-L5x_y1Q== + - z1t9yQ8F-5z-MSbqn9eeqWiMzATU42VA2XHv5J2ZePVR5K4BARjbtw== X-Amz-Cf-Pop: - LAX50-C1 X-Cache: @@ -2841,7 +2841,7 @@ interactions: X-Frame-Options: - SAMEORIGIN X-Request-Id: - - 1LPnyeJeFMWBL9OXC243y2DMuY1I7Lo1rJ6NPbJlm0I1TM-L5x_y1Q== + - z1t9yQ8F-5z-MSbqn9eeqWiMzATU42VA2XHv5J2ZePVR5K4BARjbtw== X-XSS-Protection: - 1; mode=block content-length: @@ -2864,7 +2864,7 @@ interactions: uri: https://cmr.earthdata.nasa.gov/search/granules.umm_json?short_name=SWOT_L2_HR_RiverSP_2.0&revision_date%5B%5D=2024-06-30T00:00:00Z,2024-06-30T12:00:00Z&page_size=0 response: body: - string: '{"hits":118,"took":57,"items":[]}' + string: '{"hits":118,"took":26,"items":[]}' headers: Access-Control-Allow-Origin: - '*' @@ -2874,19 +2874,19 @@ interactions: CMR-Hits: - '118' CMR-Request-Id: - - 5fc40e34-9e7a-4caa-87e2-18c570031f02 + - 4dc35290-a32f-449b-95ae-6f8218801109 CMR-Took: - - '58' + - '27' Connection: - keep-alive Content-MD5: - - 84efb2d9df1b119c46315eba1a5c3ed3 + - 83ea325aa30b51d9b1a80fe5aa8723a3 Content-SHA1: - - 0e1539ed1b04aa4f3611748d8264cdc65abbb76e + - 2e7b7db9252e2c8a053d9ae75d289a08165ec117 Content-Type: - application/vnd.nasa.cmr.umm_results+json;version=1.6.6; charset=utf-8 Date: - - Thu, 24 Oct 2024 15:23:01 GMT + - Wed, 15 Jan 2025 21:11:34 GMT Server: - ServerTokens ProductOnly Strict-Transport-Security: @@ -2896,9 +2896,9 @@ interactions: Vary: - Accept-Encoding, User-Agent Via: - - 1.1 37e37f3d71c99a5a71f8e766a6f4b9ee.cloudfront.net (CloudFront) + - 1.1 691a8ff961a1aa9ab272aed6ca2ddafe.cloudfront.net (CloudFront) X-Amz-Cf-Id: - - HfznVr_0tE7XQn-BIShOTBiR682aLyJssj7V7wjdk71T0R2eLA1XeA== + - 4bfPfoYLNF674tODHJHwPV_vC1v9RnBNx-XQdBCUK8kd8dXq2noJzA== X-Amz-Cf-Pop: - LAX50-C1 X-Cache: @@ -2908,7 +2908,7 @@ interactions: X-Frame-Options: - SAMEORIGIN X-Request-Id: - - HfznVr_0tE7XQn-BIShOTBiR682aLyJssj7V7wjdk71T0R2eLA1XeA== + - 4bfPfoYLNF674tODHJHwPV_vC1v9RnBNx-XQdBCUK8kd8dXq2noJzA== X-XSS-Protection: - 1; mode=block content-length: @@ -2931,7 +2931,7 @@ interactions: uri: https://cmr.earthdata.nasa.gov/search/granules.umm_json?short_name=SWOT_L2_HR_RiverSP_2.0&revision_date%5B%5D=2024-06-30T00:00:00Z,2024-06-30T12:00:00Z&page_size=118 response: body: - string: '{"hits":118,"took":370,"items":[{"meta":{"concept-type":"granule","concept-id":"G3137977015-POCLOUD","revision-id":1,"native-id":"SWOT_L2_HR_RiverSP_Reach_017_174_EU_20240625T055813_20240625T055815_PIC0_01","collection-concept-id":"C2799438299-POCLOUD","provider-id":"POCLOUD","format":"application/vnd.nasa.cmr.umm+json","revision-date":"2024-06-30T00:42:40.194Z"},"umm":{"TemporalExtent":{"RangeDateTime":{"EndingDateTime":"2024-06-25T05:58:15.939Z","BeginningDateTime":"2024-06-25T05:58:13.052Z"}},"GranuleUR":"SWOT_L2_HR_RiverSP_Reach_017_174_EU_20240625T055813_20240625T055815_PIC0_01","AdditionalAttributes":[{"Values":["1L","2L","3L","4L","5L","6L","7L","8L","9L","10L","11L","12L","13L","14L","15L","16L","17L","18L","19L","1R","2R","3R","4R","5R","6R","7R","8R","9R","10R","11R","12R","13R","14R","15R","16R","17R","18R","19R"],"Name":"TILE"}],"MeasuredParameters":[{"QAStats":{"QAPercentMissingData":0,"QAPercentOutOfBoundsData":0},"ParameterName":"N/A"}],"SpatialExtent":{"HorizontalSpatialDomain":{"Geometry":{"BoundingRectangles":[{"WestBoundingCoordinate":54.050507667452564,"SouthBoundingCoordinate":73.26293577873935,"EastBoundingCoordinate":59.35347911332951,"NorthBoundingCoordinate":74.78543869614185}]},"Track":{"Cycle":17,"Passes":[{"Pass":174,"Tiles":["1L","2L","3L","4L","5L","6L","7L","8L","9L","10L","11L","12L","13L","14L","15L","16L","17L","18L","19L","1R","2R","3R","4R","5R","6R","7R","8R","9R","10R","11R","12R","13R","14R","15R","16R","17R","18R","19R"]}]}}},"ProviderDates":[{"Type":"Insert","Date":"2024-06-30T00:42:34.330Z"},{"Type":"Update","Date":"2024-06-30T00:42:34.331Z"}],"CollectionReference":{"Version":"2.0","ShortName":"SWOT_L2_HR_RiverSP_2.0"},"PGEVersionClass":{"PGEName":"PGE_L2_HR_RiverSP","PGEVersion":"5.0.4"},"RelatedUrls":[{"URL":"https://archive.swot.podaac.earthdata.nasa.gov/podaac-swot-ops-cumulus-protected/SWOT_L2_HR_RiverSP_2.0/SWOT_L2_HR_RiverSP_Reach_017_174_EU_20240625T055813_20240625T055815_PIC0_01.rc.xml","Description":"Download + string: '{"hits":118,"took":162,"items":[{"meta":{"concept-type":"granule","concept-id":"G3137977015-POCLOUD","revision-id":1,"native-id":"SWOT_L2_HR_RiverSP_Reach_017_174_EU_20240625T055813_20240625T055815_PIC0_01","collection-concept-id":"C2799438299-POCLOUD","provider-id":"POCLOUD","format":"application/vnd.nasa.cmr.umm+json","revision-date":"2024-06-30T00:42:40.194Z"},"umm":{"TemporalExtent":{"RangeDateTime":{"EndingDateTime":"2024-06-25T05:58:15.939Z","BeginningDateTime":"2024-06-25T05:58:13.052Z"}},"GranuleUR":"SWOT_L2_HR_RiverSP_Reach_017_174_EU_20240625T055813_20240625T055815_PIC0_01","AdditionalAttributes":[{"Values":["1L","2L","3L","4L","5L","6L","7L","8L","9L","10L","11L","12L","13L","14L","15L","16L","17L","18L","19L","1R","2R","3R","4R","5R","6R","7R","8R","9R","10R","11R","12R","13R","14R","15R","16R","17R","18R","19R"],"Name":"TILE"}],"MeasuredParameters":[{"QAStats":{"QAPercentMissingData":0,"QAPercentOutOfBoundsData":0},"ParameterName":"N/A"}],"SpatialExtent":{"HorizontalSpatialDomain":{"Geometry":{"BoundingRectangles":[{"WestBoundingCoordinate":54.050507667452564,"SouthBoundingCoordinate":73.26293577873935,"EastBoundingCoordinate":59.35347911332951,"NorthBoundingCoordinate":74.78543869614185}]},"Track":{"Cycle":17,"Passes":[{"Pass":174,"Tiles":["1L","2L","3L","4L","5L","6L","7L","8L","9L","10L","11L","12L","13L","14L","15L","16L","17L","18L","19L","1R","2R","3R","4R","5R","6R","7R","8R","9R","10R","11R","12R","13R","14R","15R","16R","17R","18R","19R"]}]}}},"ProviderDates":[{"Type":"Insert","Date":"2024-06-30T00:42:34.330Z"},{"Type":"Update","Date":"2024-06-30T00:42:34.331Z"}],"CollectionReference":{"Version":"2.0","ShortName":"SWOT_L2_HR_RiverSP_2.0"},"PGEVersionClass":{"PGEName":"PGE_L2_HR_RiverSP","PGEVersion":"5.0.4"},"RelatedUrls":[{"URL":"https://archive.swot.podaac.earthdata.nasa.gov/podaac-swot-ops-cumulus-protected/SWOT_L2_HR_RiverSP_2.0/SWOT_L2_HR_RiverSP_Reach_017_174_EU_20240625T055813_20240625T055815_PIC0_01.rc.xml","Description":"Download SWOT_L2_HR_RiverSP_Reach_017_174_EU_20240625T055813_20240625T055815_PIC0_01.rc.xml","Type":"EXTENDED METADATA"},{"URL":"s3://podaac-swot-ops-cumulus-protected/SWOT_L2_HR_RiverSP_2.0/SWOT_L2_HR_RiverSP_Reach_017_174_EU_20240625T055813_20240625T055815_PIC0_01.rc.xml","Description":"This link provides direct download access via S3 to the granule","Type":"EXTENDED @@ -5655,21 +5655,21 @@ interactions: CMR-Hits: - '118' CMR-Request-Id: - - 4285255f-a3cb-4994-8a91-3362f187f7d0 + - 158e9cbb-07af-4243-b65b-1ace77c0f4f4 CMR-Search-After: - '["pocloud",1719436235696,3138568332]' CMR-Took: - - '422' + - '180' Connection: - keep-alive Content-MD5: - - 59d5496cbd4dd1c25cb8114f57f464ae + - b547e77f866ae406fb2dddf2980da566 Content-SHA1: - - 218c88cb960de27f0ae5029e258b2498129e8c79 + - 56ef766d9af0f420960e2df26a331df730d94a2d Content-Type: - application/vnd.nasa.cmr.umm_results+json;version=1.6.6; charset=utf-8 Date: - - Thu, 24 Oct 2024 15:23:02 GMT + - Wed, 15 Jan 2025 21:11:34 GMT Server: - ServerTokens ProductOnly Strict-Transport-Security: @@ -5679,9 +5679,9 @@ interactions: Vary: - Accept-Encoding, User-Agent Via: - - 1.1 538a08eba98551a196e344df4d0dda06.cloudfront.net (CloudFront) + - 1.1 691a8ff961a1aa9ab272aed6ca2ddafe.cloudfront.net (CloudFront) X-Amz-Cf-Id: - - jIFCmKc8qA5g3ERrRxLXntM3ZqdjFqkM4gUPj2fCUqSsOiZ_y37Wtg== + - nPtsgrUu8EJ13h4LvP1Cj5JI-xlBLMz3gx4nw5T_MqJX7uk2SiVx0A== X-Amz-Cf-Pop: - LAX50-C1 X-Cache: @@ -5691,7 +5691,7 @@ interactions: X-Frame-Options: - SAMEORIGIN X-Request-Id: - - jIFCmKc8qA5g3ERrRxLXntM3ZqdjFqkM4gUPj2fCUqSsOiZ_y37Wtg== + - nPtsgrUu8EJ13h4LvP1Cj5JI-xlBLMz3gx4nw5T_MqJX7uk2SiVx0A== X-XSS-Protection: - 1; mode=block content-length: diff --git a/tests/vcr_cassettes/publish_cnm.yaml b/tests/vcr_cassettes/publish_cnm.yaml index 3fd7578..60819d6 100644 --- a/tests/vcr_cassettes/publish_cnm.yaml +++ b/tests/vcr_cassettes/publish_cnm.yaml @@ -14,7 +14,7 @@ interactions: uri: https://cmr.earthdata.nasa.gov/search/granules.umm_json?short_name=SWOT_L2_HR_RiverSP_2.0&readable_granule_name%5B%5D=SWOT_L2_HR_RiverSP_Reach_020_457_NA_20240905T233134_20240905T233135_PIC0_01.zip&options%5Breadable_granule_name%5D%5Bpattern%5D=true&page_size=0 response: body: - string: '{"hits":1,"took":2179,"items":[]}' + string: '{"hits":1,"took":24,"items":[]}' headers: Access-Control-Allow-Origin: - '*' @@ -24,19 +24,19 @@ interactions: CMR-Hits: - '1' CMR-Request-Id: - - 2a8cc30a-67aa-43f5-a5a2-b4e142811e5a + - 57535264-7625-4400-816b-74ce7ca2b5da CMR-Took: - - '2180' + - '24' Connection: - keep-alive Content-MD5: - - e3c0b5ef7f4e8e04a2ff0a3ba79fcb17 + - 0d29d19ca12d3e0acd646bed56423f2a Content-SHA1: - - e687b3ace7e66d18f30f858e37ff8e29bb59d56b + - 4f3f31f8b885d5ff9f58566612cad48751f6ff31 Content-Type: - application/vnd.nasa.cmr.umm_results+json;version=1.6.6; charset=utf-8 Date: - - Thu, 24 Oct 2024 15:07:02 GMT + - Wed, 15 Jan 2025 21:13:05 GMT Server: - ServerTokens ProductOnly Strict-Transport-Security: @@ -46,9 +46,9 @@ interactions: Vary: - Accept-Encoding, User-Agent Via: - - 1.1 fc48013403578d683e0591243fa02952.cloudfront.net (CloudFront) + - 1.1 ecceab4d19fbcb3c610e6bd7359fd0d2.cloudfront.net (CloudFront) X-Amz-Cf-Id: - - 8csUtKjVlqIJxXP5nEY-ipc-OksC_dOh08EQafx5fD7fWBUGT7jHpA== + - Sy3LzZNgfA7HnT3FMVAthOBqB6VAhnenRbfciLDOmoG8MdBE2iC4ow== X-Amz-Cf-Pop: - LAX50-C1 X-Cache: @@ -58,11 +58,11 @@ interactions: X-Frame-Options: - SAMEORIGIN X-Request-Id: - - 8csUtKjVlqIJxXP5nEY-ipc-OksC_dOh08EQafx5fD7fWBUGT7jHpA== + - Sy3LzZNgfA7HnT3FMVAthOBqB6VAhnenRbfciLDOmoG8MdBE2iC4ow== X-XSS-Protection: - 1; mode=block content-length: - - '33' + - '31' status: code: 200 message: OK @@ -81,7 +81,7 @@ interactions: uri: https://cmr.earthdata.nasa.gov/search/granules.umm_json?short_name=SWOT_L2_HR_RiverSP_2.0&readable_granule_name%5B%5D=SWOT_L2_HR_RiverSP_Reach_020_457_NA_20240905T233134_20240905T233135_PIC0_01.zip&options%5Breadable_granule_name%5D%5Bpattern%5D=true&page_size=1 response: body: - string: '{"hits":1,"took":1578,"items":[{"meta":{"concept-type":"granule","concept-id":"G3232692178-POCLOUD","revision-id":1,"native-id":"SWOT_L2_HR_RiverSP_Reach_020_457_NA_20240905T233134_20240905T233135_PIC0_01","collection-concept-id":"C2799438299-POCLOUD","provider-id":"POCLOUD","format":"application/vnd.nasa.cmr.umm+json","revision-date":"2024-09-09T01:25:31.585Z"},"umm":{"TemporalExtent":{"RangeDateTime":{"EndingDateTime":"2024-09-05T23:31:35.589Z","BeginningDateTime":"2024-09-05T23:31:34.815Z"}},"GranuleUR":"SWOT_L2_HR_RiverSP_Reach_020_457_NA_20240905T233134_20240905T233135_PIC0_01","AdditionalAttributes":[{"Values":["246L","247L","248L","249L","250L","251L","252L","253L","254L","255L","256L","257L","258L","246R","247R","248R","249R","250R","251R","252R","253R","254R","255R","256R","257R","258R"],"Name":"TILE"}],"MeasuredParameters":[{"QAStats":{"QAPercentMissingData":0,"QAPercentOutOfBoundsData":0},"ParameterName":"N/A"}],"SpatialExtent":{"HorizontalSpatialDomain":{"Geometry":{"BoundingRectangles":[{"WestBoundingCoordinate":-130.8307934819651,"SouthBoundingCoordinate":52.93360004865338,"EastBoundingCoordinate":-125.58639150138737,"NorthBoundingCoordinate":58.82204893062929}]},"Track":{"Cycle":20,"Passes":[{"Pass":457,"Tiles":["246L","247L","248L","249L","250L","251L","252L","253L","254L","255L","256L","257L","258L","246R","247R","248R","249R","250R","251R","252R","253R","254R","255R","256R","257R","258R"]}]}}},"ProviderDates":[{"Type":"Insert","Date":"2024-09-09T01:25:25.739Z"},{"Type":"Update","Date":"2024-09-09T01:25:25.739Z"}],"CollectionReference":{"Version":"2.0","ShortName":"SWOT_L2_HR_RiverSP_2.0"},"PGEVersionClass":{"PGEName":"PGE_L2_HR_RiverSP","PGEVersion":"5.0.4"},"RelatedUrls":[{"URL":"https://archive.swot.podaac.earthdata.nasa.gov/podaac-swot-ops-cumulus-public/SWOT_L2_HR_RiverSP_2.0/SWOT_L2_HR_RiverSP_Reach_020_457_NA_20240905T233134_20240905T233135_PIC0_01.zip.iso.xml","Description":"Download + string: '{"hits":1,"took":37,"items":[{"meta":{"concept-type":"granule","concept-id":"G3232692178-POCLOUD","revision-id":1,"native-id":"SWOT_L2_HR_RiverSP_Reach_020_457_NA_20240905T233134_20240905T233135_PIC0_01","collection-concept-id":"C2799438299-POCLOUD","provider-id":"POCLOUD","format":"application/vnd.nasa.cmr.umm+json","revision-date":"2024-09-09T01:25:31.585Z"},"umm":{"TemporalExtent":{"RangeDateTime":{"EndingDateTime":"2024-09-05T23:31:35.589Z","BeginningDateTime":"2024-09-05T23:31:34.815Z"}},"GranuleUR":"SWOT_L2_HR_RiverSP_Reach_020_457_NA_20240905T233134_20240905T233135_PIC0_01","AdditionalAttributes":[{"Values":["246L","247L","248L","249L","250L","251L","252L","253L","254L","255L","256L","257L","258L","246R","247R","248R","249R","250R","251R","252R","253R","254R","255R","256R","257R","258R"],"Name":"TILE"}],"MeasuredParameters":[{"QAStats":{"QAPercentMissingData":0,"QAPercentOutOfBoundsData":0},"ParameterName":"N/A"}],"SpatialExtent":{"HorizontalSpatialDomain":{"Geometry":{"BoundingRectangles":[{"WestBoundingCoordinate":-130.8307934819651,"SouthBoundingCoordinate":52.93360004865338,"EastBoundingCoordinate":-125.58639150138737,"NorthBoundingCoordinate":58.82204893062929}]},"Track":{"Cycle":20,"Passes":[{"Pass":457,"Tiles":["246L","247L","248L","249L","250L","251L","252L","253L","254L","255L","256L","257L","258L","246R","247R","248R","249R","250R","251R","252R","253R","254R","255R","256R","257R","258R"]}]}}},"ProviderDates":[{"Type":"Insert","Date":"2024-09-09T01:25:25.739Z"},{"Type":"Update","Date":"2024-09-09T01:25:25.739Z"}],"CollectionReference":{"Version":"2.0","ShortName":"SWOT_L2_HR_RiverSP_2.0"},"PGEVersionClass":{"PGEName":"PGE_L2_HR_RiverSP","PGEVersion":"5.0.4"},"RelatedUrls":[{"URL":"https://archive.swot.podaac.earthdata.nasa.gov/podaac-swot-ops-cumulus-public/SWOT_L2_HR_RiverSP_2.0/SWOT_L2_HR_RiverSP_Reach_020_457_NA_20240905T233134_20240905T233135_PIC0_01.zip.iso.xml","Description":"Download SWOT_L2_HR_RiverSP_Reach_020_457_NA_20240905T233134_20240905T233135_PIC0_01.zip.iso.xml","Type":"EXTENDED METADATA"},{"URL":"s3://podaac-swot-ops-cumulus-public/SWOT_L2_HR_RiverSP_2.0/SWOT_L2_HR_RiverSP_Reach_020_457_NA_20240905T233134_20240905T233135_PIC0_01.zip.iso.xml","Description":"This link provides direct download access via S3 to the granule","Type":"EXTENDED @@ -114,21 +114,21 @@ interactions: CMR-Hits: - '1' CMR-Request-Id: - - 48ad845f-7c44-4d09-a947-b5e69d75e3e6 + - e71d7d1e-2c36-42e4-9958-661368f4997f CMR-Search-After: - '["pocloud",1725579094815,3232692178]' CMR-Took: - - '1579' + - '37' Connection: - keep-alive Content-MD5: - - d7e576c914b4d6bbb473bc86a3a9d028 + - 8d53a691834754258e1f05ae44004fdc Content-SHA1: - - c4c33f50fa63cdaed4ab4693802b749e3d93385b + - 028be643c0a947e6d7d0939a1a5e5137be0ba655 Content-Type: - application/vnd.nasa.cmr.umm_results+json;version=1.6.6; charset=utf-8 Date: - - Thu, 24 Oct 2024 15:07:04 GMT + - Wed, 15 Jan 2025 21:13:06 GMT Server: - ServerTokens ProductOnly Strict-Transport-Security: @@ -138,9 +138,9 @@ interactions: Vary: - Accept-Encoding, User-Agent Via: - - 1.1 ff59c1cd74c841ab9a3ebd5370e3b24a.cloudfront.net (CloudFront) + - 1.1 0931eacdfabebfd9816e3573b4bf15b4.cloudfront.net (CloudFront) X-Amz-Cf-Id: - - -h7ViK40xc6Etm936-QljHsgYyIxWC8fFoJscwiLHdHd1fXm-a7pjA== + - oLKkk22TQo4zIjyac-EhYLQ3Reo8vP9gQ6CiblDsBUHAxjmhMFpFjQ== X-Amz-Cf-Pop: - LAX50-C1 X-Cache: @@ -150,11 +150,11 @@ interactions: X-Frame-Options: - SAMEORIGIN X-Request-Id: - - -h7ViK40xc6Etm936-QljHsgYyIxWC8fFoJscwiLHdHd1fXm-a7pjA== + - oLKkk22TQo4zIjyac-EhYLQ3Reo8vP9gQ6CiblDsBUHAxjmhMFpFjQ== X-XSS-Protection: - 1; mode=block content-length: - - '10682' + - '10680' status: code: 200 message: OK