Closed 8m0 closed 3 years ago
Hi 8m0, that config file and path looks correct, so it's strange this would happen.
I don't have a way to test on windows unfortunately so it can be a little flakey.
Some things to check:
--volume C:/path/to/opentopodata/data
in the command is replaced with the actual location on your windows machine.config.yaml
, does that work?- name: test-dataset
path: tests/data/datasets/test-etopo1-resampled-1deg/
docker ps
to get the docker container id. If the container id is abc123
then run docker exec -it abc123 ls /app/data
to list the contents of the data folder. If etopo1
isn't there something has gone wrong with the docker volume mount.That's how I got it to run under Windows using PowerShell:
docker run --rm -it --volume "/C/path/to/opentopodata/data:/app/data:ro" -p 5000:5000 opentopodata sh -c "/usr/bin/supervisord -c /app/docker/supervisord.conf"
Note the path beginning with /
and not cotaining :
(asuming you have edited %(ENV_N_UWSGI_THREADS) in supervisord.conf, otherwise please refer to https://github.com/ajnisbet/opentopodata/issues/42)
- If so, make sure
--volume C:/path/to/opentopodata/data
in the command is replaced with the actual location on your windows machine.
That was the problem, thank you a lot.
Good to know, I've improved the docs in https://github.com/ajnisbet/opentopodata/commit/21483605e84cf4d467fbc3f6aead39307f5b9299
Hello,
I am trying to make etopo1 following this tutorial ETOPO1, but I am getting this error:
{ "error": "Config Error: No dataset folder found at location 'data/etopo1/'", "status": "SERVER_ERROR" }
My system is Windows 10. I set it through docker.
tiff refactored by GDAL path:
opentopodata/data/etopo1/ETOPO1.tiff
config.yaml: