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

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

Open
travisnmiles opened this issue Jun 23, 2024 · 3 comments
Open

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

travisnmiles opened this issue Jun 23, 2024 · 3 comments

Comments

@travisnmiles
Copy link

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
Copy link
Member

jklymak commented Jul 12, 2024

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

@jklymak jklymak changed the title example data path Make robust way to get example data.... Jul 12, 2024
@ecastrillo
Copy link

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
Copy link
Member

jklymak commented Aug 28, 2024

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

The data is the same as the repo.

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