Planetary mapping: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
(modules)
(+iau2wkt)
 
(46 intermediate revisions by 5 users not shown)
Line 3: Line 3:
* GRASS lat/lon regions may be used as 0-360 longitude, not just 180 east+west.
* GRASS lat/lon regions may be used as 0-360 longitude, not just 180 east+west.


* You can set and add custom ellipsoids, see the g.setproj module. Custom ellipsoids have to be added by hand, but the config tables for that are plain self-documenting text files, so reasonably easy to edit. We would of course be happy to include standard planetary ellipsoids along with future versions GRASS, as they become available.
* In GRASS 6 you can set and add custom ellipsoids, see the {{Cmd|g.setproj}} module. Permanently adding custom ellipsoids can be done by hand, the config tables for that are plain self-documenting text files, so reasonably easy to edit. An ellipse table with planetary spheroids (to put as <tt>$GISBASE/etc/*.table</tt> files) is available [http://www.unipg.it/~afrigeri/software/isisgrass here].
 
* '''''GRASS 7 now includes the planetary ellipsoid tables and support is present in the wxGUI [[GRASS Location Wizard|location wizard]].'''''
 
* '''''GRASS 7 now includes the IAU2009 IAU2000 Key support in the wxGUI [[GRASS Location Wizard|location wizard]].'''''
[[File:Location wizard with IAU codes.png|thumbnail|IAU2009 is selected by default (IAU2000 you can browse)]]
 
==== Getting Started with both ISIS3 & GRASS ====
* GRASS 7 now recognizes ISIS3.x installation and runs automatically the ISIS-GRASS bridge, CLI prompt is set to ISIS-GRASS. ISIS commands are available through the ISIS-GRASS command prompt, more details in [[GRASS Location Wizard]].
:* [https://bitbucket.org/afrigeri/isisgrass Original ISIS-GRASS work]
:* [http://www.gdal.org/frmt_isis3.html GDAL support for ISIS3]
:* [http://isis.astrogeology.usgs.gov/ ISIS Website]
 
==== Getting Started with using ISIS3 data in GRASS ====
* You can create a GRASS Location based on ISIS3 .cub raster directly
* {{cmd|r.external}} can read natively the .cub rasters inside ISIS3 data directory (no need import)
* If you want to import into GRASS any .cub from ISIS3 use {{cmd|r.in.gdal}}
 
 
==== Open Issues ====
* {{cmd|r.external}} complains about 'Mars' datum unknown
* {{cmd|r.out.gdal}} exports 'unknown' ellipsoids / datums, and also the reference meridian is named 'Greenwich'
 
=== Example of the use of GRASS GIS in Planetary Research ===
 
GRASS '''{{cmd|ps.map}}''' output as published in an [http://www.sciencemag.org/content/317/5845/1715.abstract article] in the journal ''Science''.
 
[[File:Psmap_on_sciencemag.png|center]]


=== Data ===
=== Data ===
Line 12: Line 39:
=== Modules ===
=== Modules ===


* r.in.gdal will handle HDF and netCDF and [http://www.gdal.org/formats_list.html many many more formats]
* {{cmd|r.in.gdal}} will handle HDF and netCDF and [http://www.gdal.org/formats_list.html many many more formats]
* r.in.bin will load raw binary data
* {{cmd|r.in.bin}} will load raw binary data
* see also the [[GRASS and GMT]] wiki page for interfacing with GMT Mapping Tools
* see also the [[GRASS and GMT]] wiki page for interfacing with GMT Mapping Tools


* {{AddonCmd|r.crater|version=7}} is an addon module for GRASS 7 which estimates the size of a gravity dominated impact crater, or alternatively works backwards to estimate the size of the projectile that made it.
* {{AddonCmd|d.anaglyph}} is an addon module for creating 3D stereo images. (see [[Stereoscopic_analysis#GRASS_6|Stereoscopic analysis]] and [[Stereo anaglyphs]] wiki pages)
* [https://bitbucket.org/afrigeri/isisgrass Isis2grass] is a set of tools to make [[Isis]] > 3.3.1 and GRASS work together.
:* ''g.isis3mt'': will output an ISIS3 Maptemplate according to the one currently used in the GRASS Location.
:* ''isis-grass'': a startup script that will setup a common command line interface from which both ISIS3 and GRASS commands may be called.
=== Isis menu within GRASS ===
A script can generate on-the-fly an Isis Menu using the Toolboxes from wxGUI
https://sites.google.com/site/geosnipets/Downhome/Topic2/creatinganisismenuentryingrass/mk_isis_menu.sh
[[Image:chan1m32isis_Isis_GRASS_Menu.png|right|thumb|Isis Menu in GRASS]]
{{youTube|4O-MY4dBZx4}}


=== Mars topography ===
=== Mars topography ===
[[Image:Olympus mons-medium.jpg|right|thumb|Olympus Mons, Mars]]


See tutorial in [http://grass.osgeo.org/newsletter/index.php GRASSNews volume 1]:
See tutorial in [http://grass.osgeo.org/newsletter/index.php GRASSNews volume 1]:
Line 23: Line 66:


==== Screenshots ====
==== Screenshots ====
[[Image:Mars1ana_crop.jpg|right|thumb|Mars 3D Anaglyph]]


* [http://grass.osgeo.org/grass62/screenshots/images/olympus_mons.jpg Olympus Mons, Mars topography from Mars Global Surveyor MOLA data]
* [http://grass.osgeo.org/grass62/screenshots/images/olympus_mons.jpg Olympus Mons, Mars topography from Mars Global Surveyor MOLA data]


* [http://grass.osgeo.org/wiki/Stereo_anaglyphs 3D anaglyph view of Mars topography]
* [http://grass.osgeo.org/wiki/Stereo_anaglyphs 3D anaglyph view of Mars topography]
=== See also ===
* Frigeri, A, Hare, T, Neteler, M., Coradini, A, Federico, C, Orosei, R. (2011). ''A research environment for digital planetary data processing and mapping using ISIS and GRASS GIS''. Planetary and Space Science, 59(11-12), pp.1265-1272 [ [http://dx.doi.org/10.1016/j.pss.2010.12.008 DOI] | [http://gis.cri.fmach.it/uploads/frigeri2011_isis_grass.pdf PDF] ]
* [http://webgis.wr.usgs.gov/pigwad/tutorials/planetarygis/arcmap_projections.htm .prj projection files from the USGS]
: these just define the simple reference ellipsoids, so dx=dy=dz=0.
: GRASS currently uses the IAU2000 definitions in the <tt>ellipse.table.solar.system</tt> file.
* [https://github.com/YannChemin/iau2wkt iau2wkt]: generates on the fly WKT descriptions from planetary bodies info
[[Category:Applications]]
[[Category:Documentation]]

Latest revision as of 11:25, 11 April 2016

GIS Support

  • GRASS lat/lon regions may be used as 0-360 longitude, not just 180 east+west.
  • In GRASS 6 you can set and add custom ellipsoids, see the g.setproj module. Permanently adding custom ellipsoids can be done by hand, the config tables for that are plain self-documenting text files, so reasonably easy to edit. An ellipse table with planetary spheroids (to put as $GISBASE/etc/*.table files) is available here.
  • GRASS 7 now includes the planetary ellipsoid tables and support is present in the wxGUI location wizard.
  • GRASS 7 now includes the IAU2009 IAU2000 Key support in the wxGUI location wizard.
IAU2009 is selected by default (IAU2000 you can browse)

Getting Started with both ISIS3 & GRASS

  • GRASS 7 now recognizes ISIS3.x installation and runs automatically the ISIS-GRASS bridge, CLI prompt is set to ISIS-GRASS. ISIS commands are available through the ISIS-GRASS command prompt, more details in GRASS Location Wizard.

Getting Started with using ISIS3 data in GRASS

  • You can create a GRASS Location based on ISIS3 .cub raster directly
  • r.external can read natively the .cub rasters inside ISIS3 data directory (no need import)
  • If you want to import into GRASS any .cub from ISIS3 use r.in.gdal


Open Issues

  • r.external complains about 'Mars' datum unknown
  • r.out.gdal exports 'unknown' ellipsoids / datums, and also the reference meridian is named 'Greenwich'

Example of the use of GRASS GIS in Planetary Research

GRASS ps.map output as published in an article in the journal Science.

Data

Data summary (1999):

 http://publish.uwo.ca/~pjstooke/mapsummy.txt

Modules

  • r.crater is an addon module for GRASS 7 which estimates the size of a gravity dominated impact crater, or alternatively works backwards to estimate the size of the projectile that made it.
  • d.anaglyph is an addon module for creating 3D stereo images. (see Stereoscopic analysis and Stereo anaglyphs wiki pages)
  • Isis2grass is a set of tools to make Isis > 3.3.1 and GRASS work together.
  • g.isis3mt: will output an ISIS3 Maptemplate according to the one currently used in the GRASS Location.
  • isis-grass: a startup script that will setup a common command line interface from which both ISIS3 and GRASS commands may be called.

Isis menu within GRASS

A script can generate on-the-fly an Isis Menu using the Toolboxes from wxGUI

https://sites.google.com/site/geosnipets/Downhome/Topic2/creatinganisismenuentryingrass/mk_isis_menu.sh

Isis Menu in GRASS


Mars topography

Olympus Mons, Mars

See tutorial in GRASSNews volume 1:

Global dataset of bathymetry and topography. GRASS Newsletter, 1:8-11, August 2004. ISSN 1614-8746.

Screenshots

Mars 3D Anaglyph

See also

  • Frigeri, A, Hare, T, Neteler, M., Coradini, A, Federico, C, Orosei, R. (2011). A research environment for digital planetary data processing and mapping using ISIS and GRASS GIS. Planetary and Space Science, 59(11-12), pp.1265-1272 [ DOI | PDF ]
these just define the simple reference ellipsoids, so dx=dy=dz=0.
GRASS currently uses the IAU2000 definitions in the ellipse.table.solar.system file.
  • iau2wkt: generates on the fly WKT descriptions from planetary bodies info