Skip to content
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

Help needed: absolute triangulation HiRISE SOCET GXP #456

Closed
marlens123 opened this issue Sep 15, 2023 · 1 comment
Closed

Help needed: absolute triangulation HiRISE SOCET GXP #456

marlens123 opened this issue Sep 15, 2023 · 1 comment

Comments

@marlens123
Copy link

Thank you for providing this great repository!

I am currently working on an internship project on DEM generation from HiRISE using SOCET GXP. I am new to the software and am trying to figure out the processes. In particular, I am wondering how I can obtain and integrate MOLA data for absolute triangulation. I am currently downloading MOLA PEDR data from https://ode.rsl.wustl.edu/mars/datapointsearch.aspx and MOLA DEM from https://astrogeology.usgs.gov/search/map/Mars/GlobalSurveyor/MOLA/Mars_MGS_MOLA_DEM_mosaic_global_463m. However, when I integrate the files into the triangulation process, no control points seem to fall on the images, although the coordinates should match.

Seeing that many of you have experience with HiRISE in SOCET GXP, I was wondering if you have tips or resources for this?

I highly appreciate your support!

@thareUSGS
Copy link

thareUSGS commented Mar 12, 2024

For GXP questions, the best methods for questions is via our email "planetaryphotogrammetry at usgs.gov" or direct emails. There is also the Open Planetary forum: https://www.openplanetary.org/

Anyway, MOLA topography can be extracted from the file above for GXP. While map projected GeoTIFFs seem to work, we still often import the clipped area using an Arc ASCII grid format (created using GDAL) in degrees. Likely the easiest method to clip from the MOLA is visually in QGIS or using gdal "-projwin" parameters. GDAL can be a little tricky if you want to clip a file in a projected meters using Long/Lat bounds. But you can do that using gdal_translate (projwin and projwin_srs) or gdalwarp (te and te_srs).

e.g.;

gdal_translate -projwin 120 45 115 40 -projwin_srs IAU_2015:49900 MOLA_in_meters_projection.tif out_clip.tif

  • Here you are clipping by a lon/lat range defined by the projwin_srs set to Mars in degrees. IAU_2015:49900.

or (exporting to ASCII for GXP ASCII terrain import using degrees)

gdal_warp -te 115 40 120 45 -te_srs IAU_2015:49900 -of AAIGrid MOLA_in_meters_projection.tif out_clip_degrees.asc

  • note the order of "-te" is different from gdal_translate's "-projwin"

To go from elevations in "topographic" heights to "geoid" heights (optional but recommended) you can run ASP's dem_geoid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

3 participants