Comments (3)
Hey Konstantin,
Glad it's helpful.
Unfortunately, it's not in the scope of this package as is. I can share with you the rough idea of how you might approach this.
- The urls will be the same as for NASADEM.
from dem_stitcher.datasets import get_overlapping_dem_tiles
urls = get_overlapping_dem_tiles([-121.5, 34.95, -120.2, 36.25], 'nasadem').url.tolist()
Note: if you unzip a url, you will find the *.swb
layer in the unzipped directory. Here is an example url: https://e4ftl01.cr.usgs.gov/MEASURES/NASADEM_HGT.001/2000.02.11/NASADEM_HGT_n34w121.zip
- Modify these mostly stand-alone functions (or reorganize them) to read the
swb
layer instead of thehgt
layer. Might need a little bit of work (haven't tried it) because SRTM has its own gdal driver: https://gdal.org/drivers/raster/srtmhgt.html, butswb
does not. You could infer the geometadata from thehgt
file and then just generate a dataset.
Hope this helps. Good luck!
from dem-stitcher.
Thanks for the swift reply!
from dem-stitcher.
Here is another option from @mgovorcin using ISCE2:
import isce
from isceobj.Alos2Proc.runDownloadDem import download_wbd
# Download SRTM-SWDB water mask
# ISCE2 requires South, North, East, West extents (or ymin, ymax, xmin, xmax)
mask_filename = download_wbd(extent[1], extent[3], extent[0], extent[2])
from dem-stitcher.
Related Issues (14)
- Software Versioning, ASF CI/CD HOT 1
- pip install for Python <=3.7 is v. 0.0.1 HOT 1
- Pixel shift when dst_area_or_point == 'Point' HOT 1
- Resampling and Profile Translations are Non-commutative and related Errors
- Missing glo-30 DEM tiles over Azerbaijan, Armenia
- Install via Conda-Forge
- Update ISCE2 Ingest and Clarification of how to stage DEMs HOT 1
- Add Python 3.10 Back
- Anti-meridian
- Removal of `2021` from AWS Glo Registry HOT 1
- Verification of DEM heights and Geoid removal in comparison to independent dataset HOT 1
- edge problem? I'm getting vertical of zero pixels at tile edge here HOT 3
- Left, bottom boundaries of the DEM are getting rounded to an integer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dem-stitcher.