23.04.2015 Views

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

198 CHAPTER 16. DATA STRUCTURE MANIPULATION<br />

16.6.1 Extracting the history<br />

The history information stored in a CIA structure can be accessed using the structure get<br />

routine. As an example, suppose we have an SCD in memory. Let’s assign its name to the<br />

variable scd just for convenience.<br />

CIA> scd = ’CSCDMKN297L6P100_97040515444142’<br />

Now take a look at the history of scd:<br />

CIA> print, scd_get( ’history’,scd )<br />

date=05-Apr-1997 15:44:37 node=<strong>ISO</strong>W40 user=LMETCALF procedure=x_slicer V II.1<br />

algorithm=user<br />

CIER.FIT;1 <strong>ISO</strong>W40$DKC100:[IA.LEO.WORK.MKN297] IIPH.FIT;1<br />

<strong>ISO</strong>W40$DKC100:[IA.LEO.WORK.MKN297] NO COMPACT STATUS HISTORY NO ORBIT<br />

FILE starting record = 1850 ending record = 1963 cia otf<br />

END date=05-Apr-1997 15:44:38 node=<strong>ISO</strong>W40 user=LMETCALF<br />

procedure=erd2spd V 3.1<br />

algorithm=default CSCDMKN297L6P100_97040515443475 END<br />

The output we get in the above example is in a user-friendly format. Within CIA structures<br />

the history is stored in a coded fashion in the field PROCESS. In the example above the PRO-<br />

CESS was automatically converted into a readable history. In the following example we take a<br />

look at the actual contents of PROCESS:<br />

CIA> process = scd_get( ’process’, scd )<br />

Have a look at process.<br />

CIA> print, process<br />

{ 260639077 <strong>ISO</strong>W40 LMETCALF x_slicer V II.1 user 0 31 }<br />

{ 260639079 <strong>ISO</strong>W40 LMETCALF erd2spd V 3.1<br />

default 0 53 }<br />

As you can see from the above it is not in a very user-friendly format. To make it into a<br />

readable history we can use process2history:<br />

CIA> history = process2history( process )<br />

CIA> print, history<br />

etc...<br />

In fact it is this more readable history which can be found in the field .HISTORY in the<br />

PDS. For example:<br />

CIA> print, raster_pds.history<br />

date=28-Sep-1998 14:50:33 node=bermuda user=mdelaney<br />

procedure=darklibrary V 1.1 algorithm=Find best ccglwdark_97031713382678 END

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!