ACRIST Tools

 

Input/Output tools - File Manipulation :
 
Level  Nom      MDS      Spectral        Remarques
Level0 counts   1  o               champ "données" des paquets MERIS extraits bande par bande
 Level1 TOAR     1-15    o
 Level1 rho  1-15     o            converti en réflectance
 Level1 flags  16    n               recommandé process = RAW
 Level2 rho_surf        1-13     o               normalised surface reflectance
Level2 vapour_total     14      n               total water vapour
Level2 press    18     n             surface pressure
Level2 chl_1    15     n             algal pigment index 1
Level2 toavi    15    n            TOA Vegetation index
Level2 press_top       15     n               cloud top pressure
Level2 odoc     16     n             Yellow Substance absorption
Level2 spm     16     n             Total Suspended Matter
Level2 chl_2    17     n             algal pigment index 2
Level2 boavi    17     n             BOA Vegetation index
Level2 par    18    n            PAR
Level2 cloud_albedo     18      n               cloud albedo
Level2 aer  19    n          aerosol type
Level2 tau_aer     19      n            aerosol optical thickness
Level2 cloud_tau      19      n              cloud optical thickness
Level2 flags  20    n           flags
Level2 cloud_type      19      n               cloud type
Level2 class  20    n           classification flags (bits 10-9-8)
Annotations lat                 latitude
Annotations lon                longitude
Annotations altitude               DEM altitude
Annotations roughness               DEM roughness
 Annotations lat_cor             DEM latitude correction
Annotations lon_cor             DEM longitude correction
Annotations sun_zenith            sun zenith angle
 Annotations sun_azimuth           sun azimuth angle
 Annotations view_zenith          view zenith angle
 Annotations view_azimuth          view azimuth angle
 Annotations windu    zonal wind
 Annotations windv      meridional wind
 Annotations pres_ecmwf           atmospheric pressure
Annotations ozone_ecmwf           ozone
 Annotations vapour_ecmwf           total water vapour
                                (provided by SCICON)

                                The tool "paramex" extracts parameter images from an intermediate file "int_s1l2.baf"generated by
                                MEGS.
                                The first thing you have to do is to switch on the intermediate file generation inside MEGS with:

  step12_int_file 1

  first_col_bloc 12

                                          n_col_bloc     1

                                           switch_zone     1

                                It's important to do these settings because "paramex" requires the intermediate file to have
                                these dimensions. Besides, the file would be unnecessarily big because of the invalid pixels
                                at the left and right sides of the scene.
                                After that, you move (or copy) your intermediate file to a destination where you want your
                                extracted parameter images to reside.

                                Syntax: The calling sequence of paramex follows the rules:
 

                                            paramex <input_filename> [-dir <output_directory>] [-log <log_filename>]

                                For example :   paramex  Data/s10/int_s1l2.baf -dir Data/s10 -log Data/s10/paramex.log

                                specifies the (required) input_filename as: "Data/s10/int_s1l2.baf"
                               and the (optional) output_directory parameter as: "-dir Data/s10 for the images)
                               and the (optional) log_filename parameter as: "-log Data/s10/paramex.log"
                                (for the logfile containing the value codes and lat, lon values inside the intermediate file)

                                If you call paramex as followed, you get a display with status informations:

                                pfsun1 > paramex  Data/s10/int_s1l2.baf -dir Data/s10 -log Data/s10/paramex.log
                                Extracting parameter images from 'Data/s10/int_s1l2.baf'...
                                Writing frame 0...Ok.
                                Writing frame 1...Ok.
                                Writing frame 2...Ok.
                                Writing frame 3...Ok.
                                Writing frame 4...Ok.
                                Writing frame 5...Ok

                                Images have successfully been written to:
                                Data/s10/view_zenith.img, code: 2, size: 416 x 384 x 1 x 4-byte-floats
                                Data/s10/sun_zenith.img, code: 3, size: 416 x 384 x 1 x 4-byte-floats
                                Data/s10/delta_azimuth.img, code: 4, size: 416 x 384 x 1 x 4-byte-floats
                                Data/s10/press_ecmwf.img, code: 9, size: 416 x 384 x 1 x 4-byte-floats
                                Data/s10/press.img, code: 10, size: 416 x 384 x 1 x 4-byte-floats
                                Data/s10/press_top.img, code: 11, size: 416 x 384 x 1 x 4-byte-floats
                                Data/s10/vapour_ecmwf.img, code: 12, size: 416 x 384 x 1 x 4-byte-floats
                                Data/s10/vapour_total.img, code: 13, size: 416 x 384 x 1 x 4-byte-floats
                                Data/s10/rho.img, code: 17, size: 416 x 384 x 16 x 4-byte-floats
                                Data/s10/rho_ray.img, code: 18, size: 416 x 384 x 16 x 4-byte-floats
                                Data/s10/cloud_albedo.img, code: 19, size: 416 x 384 x 1 x 4-byte-floats
                                Data/s10/ozone_ecmwf.img, code: 20, size: 416 x 384 x 1 x 4-byte-floats
                                Data/s10/toavi.img, code: 21, size: 416 x 384 x 1 x 4-byte-floats
                                Data/s10/tau_cloud.img, code: 22, size: 416 x 384 x 1 x 4-byte-words
                                Data/s10/l2flags_1.img, code: 23, size: 416 x 384 x 1 x 4-byte-words
                                Data/s10/l2flags_2.img, code: 24, size: 416 x 384 x 1 x 4-byte-words
                                Data/s10/windm.img, code: 29, size: 416 x 384 x 1 x 4-byte-floats

                                Here you can see the dimensions of the written image files. They are now easily
                                accessible through, for example, IDL routines.


News|HOME