-
Notifications
You must be signed in to change notification settings - Fork 4
Add explicit TNM elevation product discovery #397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,3 +4,9 @@ Fetchez supports more than 100 distinct data modules. | |
|
|
||
| ```{module-table} | ||
| ``` | ||
|
|
||
| ```{toctree} | ||
| :maxdepth: 1 | ||
|
|
||
| tnm | ||
| ``` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| # TNM elevation products | ||
|
|
||
| Use `products` to request specific elevation products from The National Map: | ||
|
|
||
| ```bash | ||
| fetchez run --global-hook list-only -R -124.5/-124.0/41.5/44.0 tnm --products 1m/1_3as | ||
| ``` | ||
|
|
||
| Supported names are `s1m`, `1m`, `1_9as`, `1_3as`, `1_as`, `5m`, and | ||
| `2_as`. Each product is queried separately, in the requested order. Repeated | ||
| names are queried once. This order does not establish coverage precedence. | ||
|
|
||
| Each entry includes `tnm_product` and `tnm_dataset`, along with the existing | ||
| source ID, publication date, update date, and metadata links supplied by TNM. | ||
| `tnm_project` is the decoded project directory from the download URL, when | ||
| present. It is not a verified WESM project identifier. No WESM lookup is made. | ||
|
|
||
| Downloads requested through `products` use a product directory and a short | ||
| URL hash before the filename, so different endpoints with the same filename | ||
| do not overwrite each other. Overlapping entries remain available to hooks. | ||
|
|
||
| Product queries raise an error if the API rejects the dataset, fails a request, | ||
| or returns incomplete or inconsistent pages. Entries collected during that | ||
| run are removed before the error is raised. A failed query must not be treated | ||
| as evidence that a higher-resolution product has no coverage. A successful | ||
| query returning zero products is allowed. | ||
|
|
||
| The existing `datasets` argument and default one-arc-second query remain | ||
| available. Do not combine `products` and `datasets`. Use | ||
| `--strict-datasets true` with `datasets` to request the same error handling; | ||
| otherwise the existing broad-search fallback remains available. Results from | ||
| that fallback are not assigned a specific product label. | ||
|
|
||
| Discovery provides API bounding boxes. Use footprint hooks to obtain more | ||
| precise geometry and `spatial_cull` when whole overlapping entries should be | ||
| removed. Partial coverage exclusions, resolution precedence, and WESM project | ||
| matching belong in the consuming application, such as Globato. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love this; adding docs for each module is a new goal. Then we can edit the module table to link to the specific module doc page!