This tool is designed for students, researchers, data scientists, or anyone who would like to have access to SICAR files.
Pull Image from Docker Hub urbanogilson/sicar
docker pull urbanogilson/sicar:latest
Run the downloaded Docker Image using an entry point (file) from your machine (host)
docker run -i -v $(pwd):/sicar urbanogilson/sicar:latest -<./examples/docker.py
Note: Update the entry point file examples/docker.py or create a new one to download data based on your needs.
or pass a script through STDIN
docker run -i -v $(pwd):/sicar urbanogilson/sicar:latest -<<EOF
from SICAR import Sicar, State, Polygon
from SICAR.drivers import Paddle
car = Sicar(driver=Paddle)
car.download_state(state='MG', polygon=Polygon.CONSOLIDATED_AREA, folder='MG')
EOF
Note: Using $(pwd) the container will save the download data into the current folder.
Optional: Make an external directory to store the downloaded data and use a volume parameter in the run command to point to it.
Content type
Image
Digest
sha256:df784a03f…
Size
588.9 MB
Last updated
about 2 months ago
docker pull urbanogilson/sicar