Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

2 - Build the Newport DEM

Build the Newport DEMΒΆ

Now we will build our main workshop DEM for Newport, Oregon.

The recipe is simple:

reusable national coastal data
            +
local Newport topobathymetric lidar
            ↓
      Newport coastal DEM

We will start the build here and let it run while we move into Module 2b β€” Inside the Workflow.


1. Newport study areaΒΆ

Our study area includes Yaquina Bay, the entrance channel, nearby coastal waters, and adjacent topography.

Satellite and aerial imagery of the Newport, Oregon workshop study area around Yaquina Bay, with the final DEM region outlined in red.

Newport, Oregon Study Area. The red box shows the DEM area.

For this workshop, we will build a 1/9-arc-second DEM using:


2. Start with a national recipe, then add local dataΒΆ

Our reusable national starting recipe is:

coupling-bathy-topo

It combines nationally available coastal elevation sources into a starting point that we can improve with appropriate local data.

For Newport, our question is:

Is there a useful local dataset that would improve the national recipe?

What is in coupling-bathy-topo?ΒΆ

coupling-bathy-topo is a reusable recipe that combines several nationally available topographic and bathymetric data sources.

The exact sources used depend on what data are available in the study area.

To inspect the bundle, run:

fetchez modules bundles info coupling-bathy-topo

We will look more closely at how these sources move through the workflow in Module 2b β€” Inside the Workflow.


3. Find Newport topobathymetric lidarΒΆ

NOAA’s Digital Coast Data Access Viewer (DAV) lets us search geographically for coastal lidar.

Open NOAA Digital Coast DAV for Newport

Find the dataset IDΒΆ

Globato/Fetchez needs the numeric DAV dataset ID.

In the dataset details:

  1. Scroll to Bulk Download.

  2. Click Link to All Dataset Files.

  3. Look at the URL of the page that opens.

Near the end of the URL, you will see:

.../####/index.html
     ↑
 DAV dataset ID

Use that number in:

dav:survey_id=####,weight=100
Reveal the Newport dataset

The dataset is:

2020 USACE NCMP Topobathy Lidar: Oregon

DAV dataset ID:

9693

Source specification:

dav:survey_id=9693,weight=100

4. Build the Newport DEMΒΆ

We now have the two main data ingredients:

coupling-bathy-topo
        +
dav:survey_id=9693,weight=100

Start with strong nationally available data, then add local scientific data when it improves the DEM.

Run:

globato build \
  -R -124.10/-124.00/44.59/44.64 \
  -X 6:5 \
  -P epsg:4269+5703 \
  -E 0.1111111s \
  -O newport \
  -D ~/workshop/newport_dem \
  --shared-cache ~/workshop/newport_data \
  coupling-bathy-topo \
  dav:survey_id=9693,weight=100
What does the build command specify?
PartPurpose
-R -124.10/-124.00/44.59/44.64Newport study-area bounds
-X 6:56 cells of overlap between adjacent DEM tiles; 5% source-data processing buffer
-P epsg:4269+5703NAD83 geographic + NAVD88 height target reference system
-E 0.1111111sOutput resolution
-O newportOutput name
-D ~/workshop/newport_demProcessing/output directory
--shared-cache ~/workshop/newport_dataPrepared Newport source-data cache
coupling-bathy-topoReusable national coastal recipe
dav:survey_id=9693,weight=100Local Newport topobathymetric lidar

The command combines where and how to build the DEM with which data recipe to use.

If the workshop directories are missing

Module 1 should already have prepared the Newport cache and output directory.

If needed, rerun:

bash ~/shared/setup_workshop.sh

Then confirm:

ls ~/workshop

Continue while Newport buildsΒΆ

Keep the Newport terminal running and move to:

Module 2b β€” Inside the Workflow

There we will connect the messages appearing in the terminal to the major processing stages.