basemap icon indicating copy to clipboard operation
basemap copied to clipboard

sample data file not found

Open Phillip-M-Feldman opened this issue 7 years ago • 2 comments

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.

Phillip-M-Feldman avatar Nov 06 '18 03:11 Phillip-M-Feldman

Dataset might need some authorization. Still, facing issues?

Awaiskhan404 avatar Aug 10 '22 17:08 Awaiskhan404

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 avatar Aug 10 '22 22:08 molinav

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 avatar Jan 10 '24 13:01 molinav