JunoCam – PDS

Understanding .IMG and .LBL files.

Imaging data is available on the Internet for most NASA planetary missions that have been flown since the early 1970s

During the 1980s, the Planetary Data System established standards governing the format of image data delivered to the PDS.  Later missions conformed to that format standard, and the PDS provides online software enabling users to download data from the PDS archives and convert it into other useful data formats. PDS formatted images usually have a .IMG file extension and have detached ASCII-formatted text labels containing the image’s metadata, in a .LBL file.

JunoCam data will provided in PDS format. Indeed all the Earth Flyby data is available here.

A first version of .LBL file parser  is now available to process .IMG raw data files.

PDSHeader = readPDSHeader(lbl_file_name);

The next example shows how to use them:

% This script show how to load a .IMG raw data file.
% The .lbl file contains all information related to .img file data and how to parse it.
% This example read the PDS header from de .lbl file
% With all de information from PDS header the raw data is loaded en then all data is processed/
% In this example de RGB channels will be separated and then each frame of the camera sequence will be composite
% and save as a .png file.
% javierluiso@gmail
% 2016.06.28
function Example_process_PDS_data(lbl_file)

pds_header = readPDSHeader(lbl_file);
raw_data = loadIMGfile(pds_header);

if ( (pds_header.filter.BLUE == 1) && 
     (pds_header.filter.RED == 1) && 
     (pds_header.filter.BLUE ==1) )

    [R, G, B] = separateRGBframelets(raw_data');
    [RGBFrames] = buildRGBFrames(R,G,B);



Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s