-
Notifications
You must be signed in to change notification settings - Fork 38
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEM download takes a long time #55
Comments
I would recommend replacing the |
Agreed; the first vrt makes it such the warp only need to take into memory
the part that is needed.
This makes warping much more efficient.
…On Fri, 26 Jun 2020 at 17:14, BB ***@***.***> wrote:
I would recommend replacing the gdal.Warp command (and wrpOpt) with:
gdal.BuildVRT(memRaster, inRaster, outputBounds=[minlon, minlat, maxlon,
maxlat])
This seems to increase the access speed, but when the array is read in
utilFcns.gdal_open() it will still take awhile for a large region.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#55 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AESZPSPIBVCQM7X673NTHQLRYU2W3ANCNFSM4OHK3P6Q>
.
|
If you are not transforming map projections, using translate is going to be lot faster than warp |
Thanks @piyushrpt, we implemented the virtual raster and seems to be working well! I just noticed though that the DEM we download is ellipsoidal heights; should we be doing an ellipsoidal correction as is done in ISCE? |
@jlmaurer see here for details open topogrpahy This is correct as input for tropospheric delays estiamtion, and does not need any more correction. @piyushrpt can you confirm my statement? |
Will close it out, @piyushrpt let us know in care you disagree. |
The DEM download can take the longest to run of the whole code.
Starting line in RAiDER/tools/RAiDER/demdownload.py:
RAiDER/tools/RAiDER/demdownload.py
Line 59 in 4c66748
Description
DEM download takes a long time. Not sure why this is happening; but could be that passing boundaries as a warp option is not as fast as cropping a VRT?
Relevant code
The text was updated successfully, but these errors were encountered: