Open nvkelso opened 7 years ago
A mirror of these files is in s3://mapzen-eudem/
Transcoded versions are in s3://mapzen-dynamic-tiler-test/EU-DEM/0/
curl -s https://www.eea.europa.eu/data-and-maps/data/eu-dem \
| grep -o '<a href=['"'"'"][^"'"'"']*['"'"'"]' \
| sed -e 's/^<a href=["'"'"']//' -e 's/["'"'"']$//' \
| grep entr_r_4258_1_arcsec_gsgrda-eudem-dem-europe_2012_rev1 \
> eudem_listing.txt
cat eudem_listing.txt \
| xargs \
-I {} \
-P 24 \
-n 1 \
sh -c 'export f="{}"; export s3="s3://elevation-sources-prod/eudem/`basename $f`"; curl -s $f | AWS_DEFAULT_PROFILE=openterrain aws s3 cp - $s3; echo $s3' \
tee eudem_s3_objects.txt
… This seems to fail because the download site isn't responding. I'll come back in a bit. …
They're looking into the down-ness:
Looks to be back up, so I'm doing the mirroring step now.
aws s3 ls s3://elevation-sources-prod/eudem/ --recursive | \
grep tif$ | awk '{print $4}' | \
while read filename; do
bn=$(basename ${filename%.*})
make submit-job job=aws/transcode-job.json.hbs input=s3://elevation-sources-prod/${filename} output=s3://elevation-sources-transcoded/$(dirname $filename)/${bn} name=${bn:0:50}
done
Some of these jobs are failing because they run out of memory. These are the failures. I'm cloning the jobs through the Batch console and giving them 3GB of memory:
http://www.eea.europa.eu/data-and-maps/data/eu-dem#tab-metadata
License:
CC-BY
Geographic coverage:
Format: Looks similar to SRTM