Open Fx-Zzz opened 2 years ago
Seconded. I had the same issue. I cannot open it using the xr.backends.PydapDataStore.open
code. It seems we're not the only one with this problem. See issue here. Perhaps @mballaro might have a solution?
Demo Snippet
credentials_path = "/home/johnsonj/credentials/aviso.yaml"
my_aviso_session = load_aviso_credentials(credentials_path)
url_alongtrack = 'https://tds.aviso.altimetry.fr/thredds/dodsC/2021a-SSH-mapping-OSE-along-track-data'
url_map = 'https://tds.aviso.altimetry.fr/thredds/dodsC/2021a-SSH-mapping-OSE-grid-data'
url_ds_alg = f'{url_alongtrack}/dt_gulfstream_alg_phy_l3_20161201-20180131_285-315_23-53.nc'
store_ds_alg = xr.backends.PydapDataStore.open(url_ds_alg, session=my_aviso_session)
Error Message
Temporary Solution
I simply download it using the standard wget
commands in bash. Did the minor changes.
Demo Usage:
bash dl_data.sh <aviso-username> <aviso-password> <directory-to-save>
hello,i download the code about 2021a_SSH_mapping_OSE-master,but when i run it showed "UnicodeDecodeError: 'ascii' codec can't decode byte 0x8b in position 1: ordinal not in range(128)" . I dont know where to change decode. Thanks