# Pds2isis errors/ mro gravity data advice

**URL:** <https://openplanetary.discourse.group/t/pds2isis-errors-mro-gravity-data-advice/633>\
**Category:** Planetary Datasets\
**Tags:** pds, mars\
**Created:** [May 13, 2023, 5:05pm UTC](https://openplanetary.discourse.group/t/pds2isis-errors-mro-gravity-data-advice/633 "2023-05-13T17:05:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trent\_Hare](https://yyz2.discourse-cdn.com/free1/user_avatar/openplanetary.discourse.group/trent_hare/32/303_2.png) [@Trent\_Hare](https://openplanetary.discourse.group/u/Trent_Hare)\
**Post date:** [May 13, 2023, 5:05pm UTC](https://openplanetary.discourse.group/t/pds2isis-errors-mro-gravity-data-advice/633/1 "2023-05-13T17:05:39Z")

</div>

> A transfer from the original Astrodiscuss forum (from sa-walton)

Hi all, I’m very new to using ISIS and trying to view MRO gravity data in ArcMap with a .img and .lbl file. I’m doing pds2isis and then trying to convert to a tiff (isis2std). I’m encountering an error during pds2isis:

**PROGRAMMER ERROR** Unable to find a translation value for [CoreBitsPerPixel, 64] in file [/home/sawalton/anaconda3/envs/isis/appdata/translations/pdsImage.trn].

I’m not quite sure how to fix this, or if anyone has any advice on using the gravity models in ArcMap I would really appreciate the help.

Thanks!

---

<div class="post-metadata">

**Author:** ![Trent\_Hare](https://yyz2.discourse-cdn.com/free1/user_avatar/openplanetary.discourse.group/trent_hare/32/303_2.png) [@Trent\_Hare](https://openplanetary.discourse.group/u/Trent_Hare)\
**Post date:** [May 13, 2023, 5:07pm UTC](https://openplanetary.discourse.group/t/pds2isis-errors-mro-gravity-data-advice/633/2 "2023-05-13T17:07:14Z")

</div>

Unfortunately, using a 64bit floating point type in PDS3 is a little odd to see. Looks like ISIS doesn’t support it for ingestion. I think the max for ISIS3 is 32bit floating point. There is another issue we have seen with these labels by not setting the map\_scale. So give this a try.

download both the label: [https://pds-geosciences.wustl.edu/mro/mro-m-rss-5-sdp-v1/mrors\_1xxx/data/rsdmap/ggmro\_120\_anom\_100.lbl](https://pds-geosciences.wustl.edu/mro/mro-m-rss-5-sdp-v1/mrors_1xxx/data/rsdmap/ggmro_120_anom_100.lbl)  
and pixels: [https://pds-geosciences.wustl.edu/mro/mro-m-rss-5-sdp-v1/mrors\_1xxx/data/rsdmap/ggmro\_120\_anom\_100.img](https://pds-geosciences.wustl.edu/mro/mro-m-rss-5-sdp-v1/mrors_1xxx/data/rsdmap/ggmro_120_anom_100.img)

Edit the \*.lbl, double check the math (the number of lines used below) but redefine MAP\_SCALE from:  
MAP\_SCALE = “N/A”  
to be:  
radius (km) \* PI / 2880 --\>\> 3396.0 \* PI / 2880 --\>\>  
**MAP\_SCALE = 3.70446133736 \<km/px\>**

Now just load the updated ggmro\_120\_anom\_100.lbl into ArcMap.

BTW, this file uses a Longitude range from 0 to 360, centered on 180. ArcMap can handle that, but it might have more issues or odd quirks as compared to using -180 to 180 longitudes.

To convert to GeoTIFF you can also use gdal\_translate on the updated label too.

> gdal\_translate -of GTIFF ggmro\_120\_anom\_100.lbl ggmro\_120\_anom\_100.tif
