Skip to content

Commit 1573423

Browse files
authored
fix: update links for ice velocity (#288)
* fix: update links for ice velocity * update changelog
1 parent 57db6e6 commit 1573423

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
<!-- ## Unreleased -->
8+
## Unreleased
9+
Released on
10+
Contributors:
11+
- Matt Tankersley
12+
13+
### 🐛 Fixed
14+
- fix broken links for ice velocity datasets
915

1016
<!--
1117
Below is an example for a release

src/polartoolkit/fetch.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -662,12 +662,12 @@ def ice_vel(
662662
Antarctica: version 1 from :footcite:t:`mouginotcontinent2019` and
663663
:footcite:t:`mouginotmeasures2019`.
664664
665-
accessed from https://nsidc.org/data/nsidc-0754/versions/1#anchor-1
665+
accessed from https://cmr.earthdata.nasa.gov/virtual-directory/collections/C3298047930-NSIDC_CPRD
666666
Data part of https://doi.org/10.1029/2019GL083826
667667
668668
Greenland: version 1 from :footcite:t:`measures2020`
669669
670-
accessed from https://nsidc.org/data/nsidc-0670/versions/1
670+
accessed from https://cmr.earthdata.nasa.gov/virtual-directory/collections/C3291956575-NSIDC_CPRD
671671
672672
Units are in m/yr
673673
@@ -781,7 +781,7 @@ def preprocessing_5k(fname: str, action: str, _pooch2: typing.Any) -> str:
781781
preprocessor = preprocessing_5k
782782
# This is the path to the processed (magnitude) grid
783783
path = pooch.retrieve(
784-
url="https://n5eil01u.ecs.nsidc.org/MEASURES/NSIDC-0754.001/1996.01.01/antarctic_ice_vel_phase_map_v01.nc",
784+
url="https://data.nsidc.earthdatacloud.nasa.gov/nsidc-cumulus-prod-protected/MEASURES/NSIDC-0754/1/1996/01/01/antarctic_ice_vel_phase_map_v01.nc",
785785
fname="measures_ice_vel_phase_map.nc",
786786
path=f"{pooch.os_cache('pooch')}/polartoolkit/ice_velocity",
787787
downloader=EarthDataDownloader(),
@@ -810,7 +810,7 @@ def preprocessing_5k(fname: str, action: str, _pooch2: typing.Any) -> str:
810810
f"{base_fname}_vx_v1.tif": None,
811811
f"{base_fname}_vy_v1.tif": None,
812812
}
813-
base_url = "https://n5eil01u.ecs.nsidc.org/MEASURES/NSIDC-0670.001/1995.12.01/"
813+
base_url = "https://data.nsidc.earthdatacloud.nasa.gov/nsidc-cumulus-prod-protected/MEASURES/NSIDC-0670/1/1995/12/01/"
814814
path = f"{pooch.os_cache('pooch')}/polartoolkit/ice_velocity"
815815

816816
pup = pooch.create(

0 commit comments

Comments
 (0)