Differences between revisions 6 and 8 (spanning 2 versions)
Revision 6 as of 2021-03-26 09:38:47
Size: 1905
Editor: JohnWeirich
Comment:
Revision 8 as of 2021-03-26 09:40:20
Size: 967
Editor: JohnWeirich
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
Here's an example of setup.txt for Tethys. Will need a the leap second kernel naif00112.tls. Here's a link to the NAIF description of how to use mkdsk. [[https://naif.jpl.nasa.gov/pub/naif/utilities/MacIntel_OSX_32bit/mkdsk.ug:Naif MKDSK link]] Here's an example of setup.txt for Tethys. Will need a the leap second kernel naif00112.tls. Here's a link to the NAIF description of how to use mkdsk. [[https://naif.jpl.nasa.gov/pub/naif/utilities/MacIntel_OSX_32bit/mkdsk.ug|Naif MKDSK link]]
Line 21: Line 21:
        INPUT_SHAPE_FILE = 'shapeF4-PS05A-128.plt'
      OUTPUT_DSK_FILE = 'shapeF4-PS05A-128.bds'
      LEAPSECONDS_FILE = ( 'naif0012.tls' )
      COMMENT_FILE = ' '
      SURFACE_NAME = 'Gaskell_Bennu_Q128'
      CENTER_NAME = 'BENNU'
      REF_FRAME_NAME = 'IAU_BENNU'
      START_TIME = '1950-JAN-1/00:00:00'
      STOP_TIME = '2050-JAN-1/00:00:00'
      DATA_CLASS = 1
      INPUT_DATA_UNITS = ( 'ANGLES = DEGREES'
                              'DISTANCES = KILOMETERS' )
      COORDINATE_SYSTEM = 'LATITUDINAL'
      MINIMUM_LATITUDE = -90.0
      MAXIMUM_LATITUDE = 90.0
      MINIMUM_LONGITUDE = -180.0
      MAXIMUM_LONGITUDE = 180.0
      DATA_TYPE = 2
      PLATE_TYPE = 1
  
      NAIF_SURFACE_CODE += 1
      NAIF_SURFACE_NAME += 'Gaskell_Bennu_Q128'
      NAIF_SURFACE_BODY += 2101955
  

How to convert Gaskell ICQ model to other formats

Convert to PLT

Convert to OBJ

Convert to GeoTIFF

  • Use spheremapsB to convert to a pgm, then GDAL to convert pgm to GeoTIFF. GDAL can also be used to make the GeoTIFF readable by ISIS. Further details can be found in Convert MAP since it is very similar. spheremapsB will work with user specified maps; these maps can be maplets or bigmaps.

Convert to DSK

  • This is the format used by NAIF. Use the program mkdsk, which is part of the NAIF SPICE TOOLKIT. Here is how to setup the required files.

mkdsk -setup setup.txt

Here's an example of setup.txt for Tethys. Will need a the leap second kernel naif00112.tls. Here's a link to the NAIF description of how to use mkdsk. Naif MKDSK link

\begindata

\begintext

Convert ICQ (last edited 2021-03-30 09:43:20 by JohnWeirich)