SAGE EXPERIMENT AREA ASCII DATA EXTRACTION

The goal is to perform automatically a SDS extraction from a SAGE product

HDFLook command file


verbose 
clear_data
set_home_directory /SYS/louis/
set_tmp_directory  /tmp

set_output_directory /SYS/louis/SAGE/OUTPUTS/
set_input_directory  /SYS/louis/SAGE/

set_input_hdf_file g3a.ssp.00362310v02.00

# OUTPUT RECORD DESCRIPTION

pixel_dump_set VDName= "Data Capture End Date (YYYYMMDD)" format="%.0f"\
	       LINEFEED \
	       VDName= "Time (HHMMSS)" datanb=yes format="%.0f"\
	       LINEFEED \
	       VDName= "Subtangent Latitude (0.0 +/- 90.0 deg)" datanb=yes format="%.4f"\
	       LINEFEED \
	       VDName= "Subtangent Longitude (0.0 +/- 180.0 deg)" datanb=yes format="%.4f"\
	       LINEFEED \
	       VDName="Temperature/pressure profiles : Current Temperature (K)"  format="%.2f" datanb=yes Columnb=10\	


# PERFORM EXTRACTIONS

pixel_dump     FileName= "sage_data_dump" 

Result file


# SHOW OUTPUT RESULT USER SELECTED FORMAT

scaling: Default      : "Data Capture End Date (YYYYMMDD)" format=" %.0f" 
    LineFeed
scaling: Default      : "Time (HHMMSS)" format=" %.0f"  DataNb=Yes 
    LineFeed
scaling: Default      : "Subtangent Latitude (0.0 +/- 90.0 deg)" format=" %.4f"  DataNb=Yes 
    LineFeed
scaling: Default      : "Subtangent Longitude (0.0 +/- 180.0 deg)" format=" %.4f"  DataNb=Yes 
    LineFeed
scaling: Default      : "Temperature/pressure profiles : Current Temperature (K)" format=" %.2f"  DataNb=Yes  ColumNb=10 
 20020901

# OUTPUT FOR THE SELECTED SDS

 11  2147483647 145026 145039 145045 145052 145057 145102 145103 145107 145112 145118
 11  3.402823e+38 -50.5035 -51.1598 -51.4560 -51.7952 -52.0312 -52.2779 -52.3466 -52.5544 -52.8036 -53.0519
 11  3.402823e+38 37.3199 37.0250 36.8894 36.7321 36.6214 36.5046 36.4718 36.3722 36.2515 36.1301
 200 
 268.23 263.52 259.21 255.09 250.96 247.77 244.86 241.95 239.03 236.12
 234.11 232.14 230.17 229.29 228.51 227.73 226.98 226.56 226.15 225.78
 225.45 225.11 224.64 224.11 223.58 223.06 222.15 221.20 220.24 219.29
 218.34 218.00 218.00 218.00 218.00 218.00 218.00 218.00 218.00 218.00
 218.57 219.33 220.08 220.84 221.59 222.35 223.05 223.39 223.73 224.08
 224.42 224.76 225.10 225.45 225.79 226.13 226.47 226.82 227.16 227.50
 227.85 228.69 229.94 231.20 232.45 233.70 234.96 236.21 237.47 238.72
 239.97 241.09 242.20 243.31 244.43 245.54 246.65 247.76 248.88 249.99
 251.10 252.21 253.31 254.39 255.23 255.85 256.47 257.09 257.72 258.18
 258.58 258.67 258.64 258.50 258.28 257.89 257.51 257.18 256.91 256.27
 255.69 254.73 253.76 252.80 251.84 250.88 249.91 248.95 247.99 246.91
 245.83 244.63 243.43 242.23 241.03 239.84 238.64 237.44 236.25 235.27
 234.30 233.55 232.80 232.05 231.30 230.55 229.80 229.05 228.30 227.61
 226.92 226.29 225.65 225.02 224.38 223.75 223.11 222.48 221.84 221.23
 220.62 220.04 219.45 218.87 218.28 217.70 217.11 216.52 215.94 215.38
 214.82 214.28 213.75 213.21 212.68 212.14 211.61 211.07 210.54 210.10
 209.67 209.33 209.00 208.67 208.33 208.00 207.67 207.33 207.00 206.56
 206.12 205.58 205.03 204.49 203.94 203.40 202.86 202.31 201.76 200.66
 199.56 197.88 196.20 194.52 192.83 191.18 189.52 187.93 186.34 185.81
 185.28 185.75 186.22 186.76 187.30 187.93 188.55 189.31 190.07 191.44