Coder Social home page Coder Social logo

Great Lakes bathymetry about joerd HOT 12 OPEN

tilezen avatar tilezen commented on August 11, 2024
Great Lakes bathymetry

from joerd.

Comments (12)

iandees avatar iandees commented on August 11, 2024

List files

There's only 5 of them, so here they are:

cat > mgg_greatlakes_listing.txt << EOF
https://www.ngdc.noaa.gov/mgg/greatlakes/erie/data/geotiff/erie_lld.geotiff.tar.gz
https://www.ngdc.noaa.gov/mgg/greatlakes/huron/data/geotiff/huron_lld.geotiff.tar.gz
https://www.ngdc.noaa.gov/mgg/greatlakes/michigan/data/geotiff/michigan_lld.geotiff.tar.gz
https://www.ngdc.noaa.gov/mgg/greatlakes/ontario/data/geotiff/ontario_lld.geotiff.tar.gz
https://www.ngdc.noaa.gov/mgg/greatlakes/superior/data/geotiff/superior_lld.geotiff.tar.gz
EOF

Mirror files

cat mgg_greatlakes_listing.txt \
    | xargs \
      -I {} \
      -P 24 \
      -n 1 \
      sh -c 'export f="{}"; export s3="s3://elevation-sources-prod/mgg_greatlakes/`basename $f`"; curl -s $f | AWS_DEFAULT_PROFILE=openterrain aws s3 cp - $s3; echo $s3' \
    | tee mgg_greatlakes_s3_objects.txt

Transcode files

cat mgg_greatlakes_s3_objects.txt | \
while read filename; do
    bn=$(basename $filename)
   make submit-job job=aws/transcode-job.json.hbs input=${filename} output=s3://elevation-sources-transcoded/mgg_greatlakes/$(sed 's/\.geotiff\.tar\.gz//' <<< $bn) name=$(sed 's/\.geotiff\.tar\.gz//' <<< $bn)
done

from joerd.

iandees avatar iandees commented on August 11, 2024

These jobs failed because the transcoder didn't properly handle the .tar.gz extension.

from joerd.

iandees avatar iandees commented on August 11, 2024

We finally got these in, but when the tiler tries to composite with them, it fails for some reason and 500s. I'll take a closer look later.

from joerd.

iandees avatar iandees commented on August 11, 2024

I just re-transcoded these and they don't break the tiler anymore, but they also aren't showing up over the top of ned13, which doesn't seem to have holes cut out for the Great Lakes.

from joerd.

nvkelso avatar nvkelso commented on August 11, 2024

from joerd.

iandees avatar iandees commented on August 11, 2024

That helps. It looks like vertical measurements are unexpected though, because there's a hillshade border around the data:

image
(southern end of Lake Michigan)

from joerd.

nvkelso avatar nvkelso commented on August 11, 2024

Does it need a different clip? Where could we do that?

from joerd.

iandees avatar iandees commented on August 11, 2024

I'm going to disable this for now. I haven't figured out a way to get rid of the stripe and the resolution isn't all that great anyway.

from joerd.

iandees avatar iandees commented on August 11, 2024
footprints=> update footprints set enabled=false where source='mgg_greatlakes';
UPDATE 8

from joerd.

nvkelso avatar nvkelso commented on August 11, 2024

Re-opening for a rainy day.

from joerd.

zerebubuth avatar zerebubuth commented on August 11, 2024

Info for rainy day. These DEMs each have individual vertical offsets, I think maybe their zero height datum is the mean surface level of each lake? The offset data is available from NOAA or pre-digested in Joerd v1.

from joerd.

iandees avatar iandees commented on August 11, 2024

Thanks!

from joerd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.