Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample data file not found #438

Closed
Phillip-M-Feldman opened this issue Nov 6, 2018 · 3 comments
Closed

sample data file not found #438

Phillip-M-Feldman opened this issue Nov 6, 2018 · 3 comments
Assignees

Comments

@Phillip-M-Feldman
Copy link

I'm looking at https://matplotlib.org/basemap/users/examples.html, specifically, at the example entitled "Pseudo-color plot of SST and sea ice analysis". When I try to run that example, I get an I/O error at the statement that attempts to load the dataset:

dataset= Dataset('http://www.ncdc.noaa.gov/thredds/dodsC/OISST-V2-AVHRR_agg')

It appears that this file no longer exists.

@molinav molinav self-assigned this Feb 8, 2022
@Awaiskhan404
Copy link

Dataset might need some authorization. Still, facing issues?

@molinav
Copy link
Member

molinav commented Aug 10, 2022

It seems the link from the example is not available anymore. This is something outside of our control. We should update the documentation though.

I guess the original authors rearranged the website, see e.g.
https://psl.noaa.gov/data/gridded/data.noaa.oisst.v2.highres.html

In particular, you can find two OISST product files for the periods 1971-2000 and 1991-2020 here:
https://downloads.psl.noaa.gov/Datasets/noaa.oisst.v2.highres/sst.day.mean.ltm.1971-2000.nc
https://downloads.psl.noaa.gov/Datasets/noaa.oisst.v2.highres/sst.day.mean.ltm.1991-2020.nc

I know the documentation does need an update, but before updating the documentation I am still fixing obvious bugs around. Any help is welcome. ;-)

@molinav
Copy link
Member

molinav commented Jan 10, 2024

In release 1.4.0, I have updated this example in the basemap documentation so that it uses files from the following URL:
https://downloads.psl.noaa.gov/Datasets/noaa.oisst.v2.highres

The documentation examples for basemap 1.4.0 can be found now under the following link:
https://matplotlib.org/basemap/1.4.0/users/examples.html

I discarded using the equivalent thredds dods service, because the access was usually hanging or causing timeout. The example now takes longer to execute, because it downloads the complete datasets, but it turned to be more stable in this way.

@molinav molinav closed this as completed Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants