c-proof / pyglider

glider software
https://pyglider.readthedocs.io/
Apache License 2.0
17 stars 24 forks source link

Make robust way to get example data.... #172

Open travisnmiles opened 2 months ago

travisnmiles commented 2 months ago

When running the getting started: Slocum code

 import pyglider.example_data as pexamp

pexamp.get_example_data('./') pyglider/example_data.py 

the data download fails as I believe the web address in example_data is no longer correct https://cproof.uvic.ca/pyglider-example-data/

jklymak commented 1 month ago

Thanks, I think this is fixed now, but we do need a better solution, so I've changed the title.

ecastrillo commented 1 week ago

Hi!

Still getting the error:

requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://cproof.uvic.ca/pyglider-example-data/pyglider-example-data.zip

image

Checked for changes in the file example_data.py, but I can't see any. Am I looking in the wrong direction?

The example data is supposed to be the same as in the github repo pyglider-example-data?

jklymak commented 1 week ago

Sorry, changed servers and that didn't get moved. Thanks.

The data is the same as the repo.