*********************   ASCII FILE  TO HDFLook ***********************
                           HDFLook MyFile.com

GENERAL RULES
=============

A command line starting with # is analyzed as a comment
A command line is done with a single editor line or using \ for lines concatenation


MISC FUNCTIONS
==============

set/unset verbose mode
                verbose                 Refers to the Msp program verbose mode

send_system    execute  an unix shell command
                ex:
                send_system "cc ../DEMO_DRAW/send_draw_com.c -o ../DEMO_DRAW/send_draw_com -lm;../DEMO_DRAW/send_draw_com MYIMAGE"

send_exit                               Stop the HDFLook program ( Useful in the mode  Msphinx command block Send_HDFLook <<>>)

MODIS_geometry_print   /tmp/MOD09*      ( print the area in longitude, latitude, and the global area between images)

anciliary_print		print the SDS meta data


ADDING ANCILIARY DATA 
=====================

add_global_attr  /* add an entry to the GLOBAL HDF anciliary record */

add_global_attr info= type= value=
	info = entry label
	type = type of data (UCHAR FLOAT INTEGER SHORT DOUBLE)
	value = data

	ex:
	add_global_attr info="LOA-USTL" type=UCHAR value="Lille 1km RGB image" \
			info="Latitude" type=FLOAT  value=52.05 \
			info="Longitude" type=FLOAT  value=.05\

add_sds_attr /* add an entry to the SDS anciliary record */
add_sds_attr info= type= value=

clear_global_attr   	/*clear add_global_attr stack*/
clear_sds_attr   	/*clear add_sds_attr stack*/

GENERIC EXTRACTION COMMANDS
============================

To create files from SDS/HDF  (See MODIS function for details)

export_raw_SDS                    FileName Index=1 LineStart=2 LineStep=2 \   
                                        ColumnStart=2  ColumnStep=2 scaling= 

export_raw_SDS_to_HDF             FileName=  OUTPUTSDSname= Index= LineStart=2 LineStep=2 scaling=\
                                        ColumnStart=2  ColumnStep=2 SplitSDS=Yes

To Msphinx data planes
export_raw_SDS                    plane=1 X=0 Y=0 \
                                  Index=1 LineStart=2 LineStep=2 \
                                  ColumnStart=2  ColumnStep=2


SETTINGS INPUTS ALL COMMANDS
=============================
clear_data                      clear options

set_output_directory            OutputDirectoryName

set_input_directory             InputDirectoryName  (note: Several input directories can be implemented one by set_input_directory command)

set_input_HDF_file              InputFileName

        InputFileName           ex: /home/louis/MODIS_IMAGES/MOD09CRS.hdf                : found directly the image
                                ex: MOD09A1.A2001065.h16v07.003.2001189204039.hdf search : first under the user directory
                                                                                         : second under the several set_input_directories
        note: Implemented just for the MOSAIC commands:
                                ex: /home/louis/MOD09*.hdf                               :found directly all the MOD09.. files under /home/louis/
	      			ex: MOD09*.hdf						 :found directly all the MOD09.. under the user directory
											 the search over all set_input_directories is not
											 implemented to avoid dramatics input errors...
set_home_directory  /tmp
set_map_directory   /tmp/Maps
set_tmp_directory   /tmp

SETTING PROJECTION
==================

set_projection_to_geometry                      set the TO projection geometry
                                WidthTo=1000
                                HeightTo=500
				PixelSizeXTo=			Pixel size in meters replace the WidthTo
				PixelSizeYTo=			Pixel size in meters replace the HeightTo
                                ProjectionTo="LINEAR"           TO projection name
                                LatitudeMinTo=-90.0000          TO projection geometry
                                LatitudeMaxTo=90.0000
                                LongitudeMinTo=-180.0000
                                LongitudeMaxTo=180.0000
                                [ EXTRA PARAMETERS= value ]     Projection style dependent

	projection name [extra parameter nb]:
                LINEAR[..],             POLDER[..],             GOODE[..],      MOLLWEIDEEA[..],
                HAMMER[2],              AZIMUTHAL[1,2],         LAMBERT[1,2],   MILLER[2],
                MOLLWEIDE[2],           ORTHOGRAPHIC[1,2],      ROBINSON[2],    SINUSOIDAL[2],
                VANDERGRINTEN[2],       WAGNER7[2],             MODIS[2,7,8,9], NOPROJECTION

	extra parameter list name
	=========================
	[1] CenterLatitudeTo             center latitude
	[2] CenterLongitudeTo            center longitude
	[3] FirstStandardParallelTo      first standard parallel
	[4] SecondStandardParallelTo     second standard parallel
	[5] XOffsetInMetersTo            x offset in meters
	[6] YOffsetInMetersTo            y offset in meters
	[7] SphereRadiusTo		 ex: 6371007.18100 
	[8] RowsTo			 ex: 86400
	[9] RightJustifyTo		 0 or 1

	ex: ProjectionTo="LAMBERT" CenterLatitudeTo=-45 CenterLongitudeTo=150


GEOTIFF IMPLEMENTED PROJECTIONS
===============================
	     Projection 			HDFLook name 		Geotiff name
	     ==========         		============            ============	
             Linear				LINEAR			CT_Equirectangular
             Azimuthal Equidistant		AZIMUTHAL		CT_AzimuthalEquidistant
             Lambert Azimuthal equal area	LAMBERT			CT_LambertAzimEqualArea
             Miller Cylindrical			MILLER			CT_MillerCylindrical
             Orthographic			ORTHOGRAPHIC		CT_Orthographic
             Robinson				ROBINSON		CT_Robinson
             Sinusoidal				SINUSOIDAL		CT_Sinusoidal
             Van Der Grinten			VANDERGRINTEN		CT_VanDerGrinten


CREATE IMAGES FUNCTIONS
=======================

ADDINGS
=======

add_earth_icon              x= y= width= height LatitudeMin=  LatitudeMax= LongitudeMin= LongitudeMax=

add_maps                                Coastlines=yes Rivers=yes Boundaries=yes Linewidth=\
                                        CoastlineColor=Green RiverColor=Blue BoundaryColor=Magenta

                                        Rivers=yes           means All rivers
                                        RiversRank1=yes            Permanent major rivers
                                        RiversRank2=yes            Additional major rivers
                                        RiversRank3=yes            Additional rivers
                                        RiversRank4=yes            Minor rivers
                                        RiversRank5=yes            Intermittent major rivers
                                        RiversRank6=yes            Intermittent minor rivers
                                        RiverColor=             All rivers
                                        ColorRank1=
                                        ColorRank2=
                                        ColorRank3=
                                        ColorRank4=
                                        ColorRank5=
                                        ColorRank6=



add_grids                               color=Red Linewidth= LatitudeMin=  LatitudeMax= LatitudeStep= \
                                                  LongitudeMin= LongitudeMax= LongitudeStep=

add_latitude_labels    ForegroundColor="RED" BackgroundColor="TRANSPARENT" Border=0 FontName="Bell.ttf" \
                        SizeFactor=1.0 Rotation=0. Format="%.2f" LabelStep= \
                        Longitude= LatitudeMin=  LatitudeMax= LatitudeStep= LatitudeRef=

add_longitude_labels   ForegroundColor="RED" BackgroundColor="TRANSPARENT" Border=0 FontName="Bell.ttf" \
                        SizeFactor=1.0 Rotation=0. Format="%.2f" LabelStep= \
                        Latitude= LongitudeMin= LongitudeMax= LongitudeStep=  LongitudeRef=
			
			Note: LatitudeRef/LongitudeRef= 
				if the reference value is set. The scale will be computed from/to this value.



add_scale_to_image              /* Only to create SDS jpeg/geotiff  images */
                X=              scale position and size (line,columns)
                Y=
                Width=
                Height=
                TickColor=Red           Line color
                ForegroundColor=Red     Text foreground color
                BackgroundColor=Red     Text background color
                TextFormat="%.2f"       value format (C code)
                FontName=Courb.ttf      Font name
                SizeFactor=2.0          Text size factor
                UpLeftSide=yes          Label position (default Bottom or Right)
                NoTicks=yes             Draw ticks
                Labels=" 25   1.00  30  Clouds  ...  "          Label position (if the string is empty -> computed)
                                                        Format:
                                                        pixel value(0->255),   label value  or Label string
                                                        trick: if the labelString is "computed" the label value will be
                                                        computed.
                                                        ex: the computed value will be the sds value calibrated
                                                         Labels=" 25   computed  130  computed  250 computed"
						        ex: The position in the scale will be computed
							 Labels="computed 1.5  computed  2.5 computed 3.5"



add_text                        Add text to a jpeg/geotiff image
                X=              position  (line,columns)
                Y=
                ForegroundColor="RED"
                BackgroundColor="TRANSPARENT"
                Border=0
                FontName="Bell.ttf"
                SizeFactor=1.0
                Rotation=0.
                text="THIS IS A SIMPLE TEST"

notes:
        *)command add_text add_scale_to_image
                X= Y= with= height=        values > 0       units are in line,columns
                                           values % as .10  units : % of image width or height

	*)for create_MODIS_SDS_JPEG_image and create_MODIS_SDS_HDF_image the scaling can be used to compute the
           	labels values in the add_scale_to_image option

        *)command add_earth_icon
                x= y= width= height   units are in line,columns
                but if the final command is send_to_printer send_to_PS_File
                        The position units are in cm refering to the page size




	IMAGE ADDINGS  AVAILABLE IN:
	===============================

  Addings: add_earth_icon, add_maps, add_text,add_grids, add_latitude_labels, add_longitude_labels, add_scale_to_image
  are implemented in all image jpeg,geotiff, and ps files generation

  Addings does not affect create_MODIS_SDS_Mosaic and create_MODIS_SDS_HDF_Mosaic data planes but
  	are included in the outputs generated by the  options CreateJPEG=yes CreateGEOTIFF=yes

  command file: create_MODIS_RGB_Image have only add_earth_icon implemented



add_image_frame                               Add a frame to the output jpeg image
                                Size=                           border size (if = 0 no frame)
                                Red=                            red color
                                Green=                          green color
                                Blue=                           blue color
                                FrameColor="red"                ( select red green blue or FrameColor)
                                FontName=""Bell.ttf"
                                TitleColor="Red"
                                TitleSizeFactor=2.0                  Title factor
                                TopTitle="My file"
                                BottomTitle="My file"



	CREATE  RGB several band images (Reflectance, Thermal anomalies,Thermal)
	=======================================================================

MISC
====

set_image_background            color=White Only 4 backgrounds  (White,Grey0,Grey1,Black)

for images created from SDS with a lut: color= lut index (0 to 255)

set_image_background            color=128   

set_image_RGB_composite  VISIBLE or THERMAL or THERMALANOMALIES or SWIR         (VISIBLE is the default)
	SWIR is ShortWave InfraRed bands 4 6 7 of MODIS

set_image_RGB_composite  USERRGB    \
			 SDSNameR="EV_1KM_RefSB" (or) SDSNoR=1 IndexR=1,height,width ComplementR=Yes \
			 minR= maxR =		\
			 SDSNameG="EV_1KM_RefSB" (or) SDSNoG=1 IndexG=2,height,width ComplementG=Yes \
			 minG= maxG = 		\
			 SDSNameB="EV_1KM_RefSB" (or) SDSNoB=1 IndexB=3,height,width ComplementB=Yes \
			 minB= maxB =		

	*) USERGB option command must follow the first set_input_hdf_file command 
	*) IndexR  a value points to a SDS element
		ex: 15 x 2030 x 1354  EV_1KM_RefSB
			 the data slices are the first array index  (2 and 3 are height and width)
			

set_misc_options   CloudsRGBEnhance=Yes   /* Enhance in the RGB images the white cloud pixels */

	note: several methods to enhance the RGB image can be used:
	*)RGBMode:
        	-RGBMode="Linear"        (level 1B)
                                Standard Atmospheric corrections + scaling 0 to 2000
		-RGBMode="LinearStandard"
		-RGBMode="LinearDesert"
		-RGBMode="LinearPole"

        	-RGBMode="Log"           (level 1B)
                                Standard Atmospheric corrections + scaling 5.5 to 8.3
		-RGBMode="LogStandard"
		-RGBMode="LogDesert"
		-RGBMode="LogPole"
		-RGBMode="AutoCorrelation"		(Specific algorithm based on Louis image Collection results: http://www-loa.univ-lille1.fr/gallery/index_uk.html)
	*)enhance = value
        		value percent darker -10 or brighter 10 (10 % less or more)

	*)minR= value maxR = value minG= value maxG = value minB= value maxB = value
        	pixel is stretched between min and max

set_misc_options   OnlyDay=Yes OnlyNight=Yes  DayBoth=Yes NightBoth=yes  DayNight=Yes day or night granules filter
	DayBoth is Day and Both granules NightBoth is Night and Both granules


set_misc_options PixelSize=2 	select pixels with a size <= n * central pixel size

set_misc_options AutoAdjust=yes  Compute projection domain and shift longitude when image cross right of left boundary
set_misc_options SwitchImage=yes   Only use in create jpeg/geotiff images switch to RGB composite THERMAL if night
set_misc_options AddGranuleBorder=yes Color=Green Linewidth=

set_MODIS_pixel_filter Level1bRGBSolarAngle (Just for MODIS/AIRS level1B granules)
	Keep or suppress pixels with solar zenith anles < 87.00
		if DayBoth is set  keep solar zenith angles < 87.00
		if NightBoth is set  keep solar zenith angles > 87.0

COMMANDS
=======

create_MODIS_JPEG_image                 Filename= width= height= Enhance= RGBMode= Quality=\
                                        LatitudeMin=  LatitudeMax= LongitudeMin= LongitudeMax= \
					minR= maxR = minG= maxG = minB= maxB =

create_MODIS_GEOTIFF_image              Filename= width= height= Enhance= RGBMode= \
                                        LatitudeMin=  LatitudeMax= LongitudeMin= LongitudeMax= \
					minR= maxR = minG= maxG = minB= maxB =

create_MODIS_HDF_image                  Filename= ....  CompressMode=JPEG Quality=75

create_MODIS_RGB_image                  Filename= ..... 

create_MODIS_RGB_Mosaic                 Filename=   ClearFile=Yes  Enhance= RGBMode=\
					minR= maxR = minG= maxG = minB= maxB = \
					BottomPixelFiller=2 CreateJPEG=yes CreateGEOTIFF=yes

create_MODIS_RGB_HDF_Mosaic             Filename=  OUTPUTSDSname= Enhance= RGBMode= ClearFile=Yes\
					minR= maxR = minG= maxG = minB= maxB = \
					BottomPixelFiller=2 CreateJPEG=yes CreateGEOTIFF=yes





	CREATE a single plane image
	============================

MISC
====

select_SDS                      SDSName="EV_1KM_RefSB" (or) SDSNo=1 Index=1


	WARNING::: if select_SDS with Index= is used suppress all Index= of the action commands..
	export_raw_SDS ... create_MODIS_SDS_Mosaic ... export_MODIS_projected_SDS ... export_MODIS_raw_SDS etc..)

		You have two modes to select indexes.
		1)direct mode in the "ACTION" command line:
			create_MODIS_SDS_JPEG_image             Filename= width= height= Index=1 Scaling= Quality=
		2)select mode using the "SELECT_SDS" command:
			select_SDS                      SDSName="EV_1KM_RefSB"  Index=1,height,width
		and nothing in the action mode
 			create_MODIS_SDS_JPEG_image             Filename= width= height= . Scaling= Quality=
		
		IF BOTH ARE USED THE INDEX OF THE ACTION OVERLAP THE select_SDS INDEX



set_image_background            color=White Only 4 backgrounds  (White,Grey0,Grey1,Black)

set_color_scale_name   "GREY"  	Color scale name (see Color Lut Names)
                                      if the Color Lut Name is not in the list
                                      a user file name is read.
                                      ( format: pix no (0->255) red green blue ((0->255))


set_SDS_enhance min=1000 max=5000               strech the data to match the lut (0->255 colors)
                                                min-> color 0 max-> color 255
						units are related to "scaling=" keyword

	note:
	*)Color Lut Name:      GREY, RAINBOW0, RAINBOW1, RAINBOW2, RAINBOW3, RAINBOW4, GEODESIC, SEISMIC,
                     TOPOGRAPHIC, ADDITIVE, CEE, X11, GREY16, RAINBOW16, NONE

	*)select_SDS index:
	index : a value points to a SDS element, the character (*) performs a loop on the index value
        ex:   15 x 2030 x 1354
        Data set name: 'EV_1KM_RefSB' [15 x 2030 x 1354]
        index=2 point to the second slice (2034X1354)
        ex:   10 x 11 x 360 x 180
        index=5,3 point to the 5 X 3 slice (360X180)
        ex: 10 x 11 x 360 x 180
        index=5,* point to the 5 X (1 to 11) slices (360X180)
        ex: 2030 x 1354 x 10
        index=0,0,3 point to the 3  slice ( 2030X1354 )

		warning: for the command export_MODIS_raw_SDS an option is added to index=
		(default matrix dimensions are ..,height,width..) User is able to swap the matrix using:
		index=width,height,3 ( in the ex:  2030 x 1354 x 10 the array no 3 will be swaped)


COMMANDS
=======

create_MODIS_SDS_JPEG_image             Filename= width= height= Index=1 Scaling= Quality=\
                                        LatitudeMin=  LatitudeMax= LongitudeMin= LongitudeMax=

create_MODIS_SDS_GEOTIFF_image          Filename= width= height= Index=1 Scaling= \
                                        LatitudeMin=  LatitudeMax= LongitudeMin= LongitudeMax=

create_MODIS_SDS_HDF_image              Filename= width= height= Index=1 Scaling= CompressMode=JPEG Quality=75\
                                        LatitudeMin=  LatitudeMax= LongitudeMin= LongitudeMax=





EXPORT SDS DATA
===============

MISC
====

select_SDS                      SDSName="EV_1KM_RefSB" (or) SDSNo=1 Index=1

	note:
	SCALING SDS FILES
        if the scaling is used the result file will be in floating point
        LEVEL 1B REFLECTIVE SOLAR BAND
        scaling="Reflectance"
        scaling="Radiance"
        GENERAL
        scaling="y=a(x-b)"
        scaling="y=ax"
        scaling="y=ax+b"
        scaling="y=10**(ax+b)"

for LEVEL1B 250m and 500m data geolocation files in raw mode
	Export the latitude longitude SDS at 250m or 500m accuracy

set_misc_options ExpandGeolocation=Yes 

for LEVEL1B 1km Emissive channels bands (20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36)
	Compute brightness temperature in Kelvin or Celsius

set_misc_options BrightnessTemperatureKelvin=Yes or BrightnessTemperatureCelsius=Yes 

COMMANDS
========

export_MODIS_raw_SDS                    FileName Index=1 LineStart=2 LineStep=2 \
                                        ColumnStart=2  ColumnStep=2 scaling=

export_MODIS_raw_SDS                    FileName Index=1 LineStart=2 LineStep=2 scaling=\
                                        LatitudeMin=  LatitudeMax= LongitudeMin= LongitudeMax=

export_MODIS_projected_SDS              FileName Index= scaling=\
                                        LatitudeMin=  LatitudeMax= LongitudeMin= LongitudeMax=

create_MODIS_SDS_Mosaic                 Filename= Index=1 ClearFile=Yes scaling= BottomPixelFiller=2 \
					CreateJPEG=yes CreateGEOTIFF=yes

create_MODIS_SDS_HDF_Mosaic             Filename= OUTPUTSDSname= Index=1 scaling= ClearFile=Yes BottomPixelFiller=2 \
					CreateJPEG=yes CreateGEOTIFF=yes


/* Export to HDF file */

export_MODIS_raw_SDS_to_HDF             FileName=  OUTPUTSDSname="MySDS" Index= LineStart=2 LineStep=2 scaling=\
                                        ColumnStart=2  ColumnStep=2 SplitSDS=Yes

export_MODIS_raw_SDS_to_HDF             FileName=  OUTPUTSDSname="MySDS" Index= LineStart=2 LineStep=2 scaling=\
                                        LatitudeMin=  LatitudeMax= LongitudeMin= LongitudeMax=

export_MODIS_projected_SDS_to_HDF       FileName=  OUTPUTSDSname="MySDS" Index= SplitSDS=Yes  scaling=\
                                        LatitudeMin=  LatitudeMax= LongitudeMin= LongitudeMax=

Remarks:
    -If the width or/and height are = to zero the other value will be computed keeping the lat/lon size ratio
    -For Mosaic the projection space size and geometry is done by the set_projection_to_geometry function
    -select_SDS must be made after set_input_hdf_file


POSTSCRIPT CAPABILITIES
=======================


send_to_printer  Command="lp -d Myprinter"
                 Type=Color                    Color Black&White
                 PaperFormat=A4                A4 A3 B5 USLetter USLegal
                 dpi=200                       PS resolution dpi (200 600)
                 Copies=1
                 Orientation=Portrait          Portrait Landscape
                 print=SDS                     SDS RGB (RGB = Visible or thermal anomalies)
                 PageTitle="Title"

send_to_PS_File  FileName="./print.ps"
                 Type=Black&White              Color Black&White
                 PaperFormat=A4                A4 A3 B5 USLetter USLegal
                 dpi=200                       PS resolution dpi (200 600)
                 Copies=1
                 Orientation=Portrait          Portrait Landscape
                 print=SDS                     SDS RGB
                 PageTitle="Title"



UNDER CONSTRUCTION
==================
	*) set_MODIS_pixel_filter                  Cloudy

	*) set_BorderLightning Yes BorderWidth=50

=======================================================================================
=======================================================================================
=======================================================================================

CREATE RGB IMAGES INTO A MSPHINX PROJECT
========================================
add_Msphinx_maps        Coastlines=yes Rivers=yes Boundaries=yes \
                        CoastlineColor=Green RiverColor=Blue BoundaryColor=Magenta

/* create a rgb image in the Msphinx project in use (dataplanes on disk Msphinx option)
   THE WORD Plane= REPLACE THE WORD Filename=
                if Plane = -1 the image is sent to the R,G,B planes in use
                if Plane = 2   Red will be the plane 2, Green plane 3 Blue plane 4  */

create_MODIS_RGB_image                  Plane=-1  X=0 Y=0 Width= Height= Enhance=  \
                                        LatitudeMin=  LatitudeMax= LongitudeMin= LongitudeMax=

/* create a rgb image in the Msphinx project in use (dataplanes on disk Msphinx option)
                if Plane is not defined the image is sent to the R,G,B planes in use
                if Plane = 2   Red will be plane 2, Green plane 3 Blue plane 4

create_MODIS_RGB_Mosaic                 Plane=1  X=0 Y=0  Enhance= ClearFile=Yes


EXPORT SDS DATA
===============

SEND A SDS  TO A MSPHINX PROJECT
=================================
/* create a sds image in the Msphinx project in use (dataplanes on disk Msphinx option)
   THE WORD Plane= REPLACE THE WORD Filename= */

export_MODIS_raw_SDS                    plane=1 X=0 Y=0 \
                                        Index=1 LineStart=2 LineStep=2 \
                                        ColumnStart=2  ColumnStep=2

export_MODIS_projected_SDS              Plane=1 X=0 Y=0 Width= Height= Index= \
                                        LatitudeMin=  LatitudeMax= LongitudeMin= LongitudeMax=

create_MODIS_SDS_Mosaic                 Plane= X=0 Y=0 Width= Height= Index=1 ClearFile=Yes

=======================================================================================
=======================================================================================
=======================================================================================

A set of commands allow to dump values from SDS or Vdata files:
to get the list of the SDS or Vdata available in the hdf file use:
HDFLook -List file.hdf  


Pixel_dump_set  ::  command to create the print line from the various SDS..
ex: Width SDS data sets
Pixel_dump_set SDSName="EV_250_Aggr1km_RefSB" Index=1 scaling=Reflectance format="%.4f" \
               SDSNo=6 Index=1,2 (i,w,h) scaling=Reflectance \
                linefeed \
               SDSNo=3 Index=1 scaling=Radiance \
               SDSNo=6 Index=1,2 (i,w,h) scaling=Radiance \
                linefeed \
               SDSNo=9 scaling="NONE" \
               SDSNo=10  format="%.6f"\
               SDSNo=11  \
               SDSNo=13  \
               SDSNo=14

ex: Width VData sets
Pixel_dump_set VDName= "Data Capture End Date (YYYYMMDD)" format="%.0f"\
               LINEFEED \
               VDName= "Date (YYYYMMDD)" datanb=yes format="%.0f"\
               LINEFEED \
               VDName= "Time (HHMMSS)" datanb=yes format="%.0f"\
               LINEFEED \
               VDName="Temperature/pressure profiles : Current Temperature (K)"  format="%.4f" \
		datanb=yes Columnb=10\
               LINEFEED \
               VDName="Composite Ozone profiles : Ozone Concentration (cm-3)" datanb=yes Columnb=10\
               LINEFEED \
               VDName="Chappuis Ozone profiles : Ozone Concentration (cm-3)" datanb=yes Columnb=10



 command words description:
		linefeed 	( print a linefeed in the output file)
		DataNb=yes	add the number of values before printing the values
		ColumNb=10	print a linefeed after ColumNb values
		SDSName="" 	dump the sds 
		VDName="" 	dump the VData record
		SDSNo= 		dump the sds number (according with the HDFLook SDS number (see: HDFlook -list)
				(this option is not available for Vdata records use VDName="")
		Index=		Select the index values to be printed in the selected sds
		IndexDescription=  Decription of the array indexes (codes: i=index w=width h=height and number
					to fix slices) ex: i,w,h  or w,h,1,i
		format="%.4f"   Select a format (C notation)
		scaling=	Select tyhe scaling mode
			Scaling options :
			       scaling= "Reflectance"  (if any)
			       scaling= "Radiance"     (if any)
			       scaling= "None"         Raw data
			       scaling= "y=ax+b"
			       scaling= "y=a(x-b)"
			       scaling= "y=ax"
			       scaling= "Y=10**(AX+B)"
			if the saling option is missing HDFLook will do is best to scale  the data

Pixel_dump    :: command to select pixels from one location or an area (Square or defined by 4 points)
With Vdata no pixel selection is allowed just do: pixel_dump   FileName= "OUT2"

ex:
Pixel_dump   FileName= "OUT2" LatitudeMin=26.7725 LatitudeMax=26.8000 LongitudeMin=72.4727 LongitudeMax=72.5000
Pixel_dump  	Annotation="Lille"  LatitudeMin=26.7 LongitudeMin=72.4727
Pixel_dump   		      Point=26.7,72.4 Point=26.8,72.4 Point=26.8,72.5 Point=26.7,72.5
Pixel_dump   		      Point=26.7,72.4
/*    direct planes line,column index
Pixel_dump   		      LCPoint=100,200
/*    direct planes line,column index loop
Pixel_dump   		      LCPoint=100,200  LCPoint=110,210
			
Note: IndexDescription Must be tested, functions not implemented for binned data and specific input projection.
Tested on level 1b... and SAGE data sets
