diff --git a/doc/source/user_guide/changelog/v0.6.4.rst b/doc/source/user_guide/changelog/v0.6.4.rst index e23cccb23..2f0adf132 100644 --- a/doc/source/user_guide/changelog/v0.6.4.rst +++ b/doc/source/user_guide/changelog/v0.6.4.rst @@ -35,6 +35,7 @@ Maintenance - add provider flag to CMR request (needed with new cloud availability) (#380) - update traffic data and scripts (#363, #369, #383) - enable support for Python 3.10 and 3.11 (#372) +- update json file with subsetting options to v005 of ATL06 (#387) Documentation diff --git a/icepyx/tests/ATL06v04_options.json b/icepyx/tests/ATL06v05_options.json similarity index 100% rename from icepyx/tests/ATL06v04_options.json rename to icepyx/tests/ATL06v05_options.json diff --git a/icepyx/tests/test_behind_NSIDC_API_login.py b/icepyx/tests/test_behind_NSIDC_API_login.py index 12f7be547..d01e1e0ec 100644 --- a/icepyx/tests/test_behind_NSIDC_API_login.py +++ b/icepyx/tests/test_behind_NSIDC_API_login.py @@ -13,7 +13,7 @@ @pytest.fixture(scope="module") def reg(): live_reg = ipx.Query( - "ATL06", [-55, 68, -48, 71], ["2019-02-22", "2019-02-28"], version="004" + "ATL06", [-55, 68, -48, 71], ["2019-02-22", "2019-02-28"], version="005" ) yield live_reg del live_reg @@ -39,8 +39,8 @@ def session(reg): def test_get_custom_options_output(session): - obs = is2ref._get_custom_options(session, "ATL06", "004") - with open("ATL06v04_options.json") as exp_json: + obs = is2ref._get_custom_options(session, "ATL06", "005") + with open("./icepyx/tests/ATL06v05_options.json") as exp_json: exp = json.load(exp_json) assert all(keys in obs.keys() for keys in exp.keys()) assert all(obs[key] == exp[key] for key in exp.keys())