Jump to content
PDS Geosciences Node Community

K type Losslessly Compressed Video


Recommended Posts

Here's the deal: I'm trying to download these images from a video sequence, but i can only see 10 which are K type full-res (1600x1200) images, and the rest are jpeg 444 thumbnails (96x80). In the label file i can see the video was requested for 112 frames with 3 second interval. I would like to see the entire sequence in full resolution; is this because the raw transmission was made in thumbnails or is there any way i can see the full resolution images?

This is my best attempt at compiling it into a video: https://streamable.com/7nak5

You can see there are a couple high resolution images amongst the potato quality footage

Link to comment
Share on other sites

The sol 1627 sequence does have 112 thumbnail video frames (product type "K"). Unfortunately, the command sequence did not include a request for full-resolution frames to match. Note that the 10 K-type products you see for sol 1627 are really the two "XXXX" images and the eight derived images (four from each) that include a variety of color correction, linearization, and other techniques applied. The four Mastcam derived image types (also called processing codes) are DRXX, DRCV, DRLX, and DRCL. You can read about them in the data product SIS (Software Interface Specification). In the Notebook, click on the Resource tab, then choose "View documents". Select Mastcam and scroll down to the document titled "MSL_MMM_EDR_RDR_DPSIS.PDF".

Only a handful of sols have full-resolution (or higher-resolution) Mastcam movie sequences. Through the current data release, the sols are:

  • Type K, sols 351, 363, 368, 713, 1032, 1627, 1668, 1692, 1693, 1972
  • Type L, sols 363, 368, 369, 650, 713, 1032
  • Type M, sols 284, 284, 289, 351, 1625

The K-type sequences generally have the fewest frames per sequence. Some sols have multiple sequences.

You can find the images in the Notebook from the Search > Data form. Enter the sol, instrument, and product type, and also put the processing code "DRCX" in the Product ID box. This will restrict the number of images that are returned.


PS. Nice video. I'd like to see what you get from higher-res images.

Link to comment
Share on other sites

  • 1 month later...

Unfortunately the sequence from sol 1627 was the only usable sequence. Sorry for the late reply.

This is the result: https://youtu.be/JWx5f7Fxh8o

I do not know why but all other sequences are either broken up or only available in thumbnail format.

Do you know if or where i can access the raw data archives, without being processed into the Notebook UI? I suspect i can find more there.

Thanks for the help, have a good day.

Link to comment
Share on other sites

  • 4 weeks later...

One last question, how am I supposed to open IMG files? I would normally use gdal_translate but no GIS library was able to process it

Update: I can process the ones except for: Mastcam, MAHLI, Mardi

Link to comment
Share on other sites

You can use GDAL to convert the IMG file to a number of formats. I used v2.4. Be sure to use the PDS label (.LBL) file as the input to gdal_translate:

gdal_translate -of GTiff 1627MR0083990000801607K00_DRCX.LBL .\1627MR0083990000801607K00_DRCX.tif

GDAL is available at http://www.gdal.org/ and you can read more about the gdal_translate command at http://www.gdal.org/gdal_translate.html

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...