Obtain earth-data access token from earthdata. Save it to earth-data.tk
.
echo "Paste token below, then press Ctrl-D"
cat | install -m 600 /dev/stdin earth-data.tk
Run script:
env EARTHDATA_TOKEN="$(cat earth-data.tk)" ./scripts/setup-py-env.sh
This will:
- Create
emit
environment in~/.envs/emit
- Register with jupyter (with extra environment variables)
- Install packages
emit-stac.zip
STAC items generated from.cmr.json
and.nc.dmrpp
- Generate this using collect-stac-md notebook
- Open hs-emit-example notebook in jupyter