|
ocssw
1.0
|
#include "hdf.h"#include "mfhdf.h"Go to the source code of this file.
Classes | |
| struct | cache_str |
| struct | l2_prod |
| struct | meta_l2Type |
Defines | |
| #define | byte unsigned char |
| #define | MAXNFILES 800 /* Increase to 544 09/25/06 JMG - 800 WDR */ |
| #define | PNAME "Product Name" |
| #define | TITLE "Title" |
| #define | LEGEND "Legend" |
| #define | DCENTER "Data Center" |
| #define | MISSION "Mission" |
| #define | MSNCHAR "Mission Characteristics" |
| #define | SENNME "Sensor Name" |
| #define | SENSOR "Sensor" |
| #define | SNSCHAR "Sensor Characteristics" |
| #define | REPLACES "Replacement Flag" |
| #define | SOFTID "Software ID" |
| #define | PTIME "Processing Time" |
| #define | INFILES "Input Files" |
| #define | PROC_CON "Processing Control" |
| #define | PROC_LOG "Processing Log" |
| #define | STATION "Station Name" |
| #define | STLAT "Station Latitude" |
| #define | STLON "Station Longitude" |
| #define | DTYPE "Data Type" |
| #define | NPIX "Pixels per Scan Line" |
| #define | NSAMP "Parent Pixels per Scan Line" |
| #define | NSCAN "Number of Scan Lines" |
| #define | NREC "Parent Number of Scan Lines" |
| #define | SNCNTR "Scene Center Scan Line" |
| #define | NFREC "Filled Scan Lines" |
| #define | FFLAG1 "FF Missing Frames" |
| #define | FFLAG2 "SDPS Missing Frames" |
| #define | MASKNAMES "Mask Names" |
| #define | PCTFLAG "Flag Percentages" |
| #define | FLAGNAMES "EPSILON1,LAND1,ANCIL1,SUNGLINT1,HIGHLT1,SATZEN1,COASTZ1,NEGLW1,STRAYLIGHT1,CLDICE1,COCCOLITH1,TRUBIDW1,SOLZEN1,HIGHTAU1,LOWLW1,CHLOR1" |
| #define | STIME "Start Time" |
| #define | ETIME "End Time" |
| #define | CTIME "Scene Center Time" |
| #define | NTIME "Node Crossing Time" |
| #define | SYEAR "Start Year" |
| #define | SDAY "Start Day" |
| #define | SMSEC "Start Millisec" |
| #define | EYEAR "End Year" |
| #define | EDAY "End Day" |
| #define | EMSEC "End Millisec" |
| #define | SNODE "Start Node" |
| #define | ENODE "End Node" |
| #define | ORBNUM "Orbit Number" |
| #define | NORAD1 "NORAD Line 1" |
| #define | NORAD2 "NORAD Line 2" |
| #define | LATUNITS "Latitude Units" |
| #define | LONUNITS "Longitude Units" |
| #define | ULLAT "Upper Left Latitude" |
| #define | ULLON "Upper Left Longitude" |
| #define | URLAT "Upper Right Latitude" |
| #define | URLON "Upper Right Longitude" |
| #define | LLLAT "Lower Left Latitude" |
| #define | LLLON "Lower Left Longitude" |
| #define | LRLAT "Lower Right Latitude" |
| #define | LRLON "Lower Right Longitude" |
| #define | CLAT "Scene Center Latitude" |
| #define | CLON "Scene Center Longitude" |
| #define | SCSOL_Z "Scene Center Solar Zenith" |
| #define | NLAT "Northernmost Latitude" |
| #define | SLAT "Southernmost Latitude" |
| #define | WLON "Westernmost Longitude" |
| #define | ELON "Easternmost Longitude" |
| #define | STCLAT "Start Center Latitude" |
| #define | STCLON "Start Center Longitude" |
| #define | ENDCLAT "End Center Latitude" |
| #define | ENDCLON "End Center Longitude" |
| #define | NODEL "Orbit Node Longitude" |
| #define | PARAM "Parameter" |
| #define | UNITS "Units" |
| #define | PX_START "Start Pixel" |
| #define | LAC_PX_ST "LAC Pixel Start Number" |
| #define | PX_SUBSAMP "Pixel Subsampling Rate" |
| #define | LAC_PX_SUBSAMP "LAC Pixel Subsampling" |
| #define | PX_NUM "Pixels per Scan Line" |
| #define | SC_START "Start Scan" |
| #define | SC_SUBSAMP "Scan Subsampling Rate" |
| #define | SC_NUM "Number of Scan Lines" |
| #define | PX_LL_NUM "Pixel Coordinates" |
| #define | SC_LL_NUM "Scan Coordinates" |
| #define | SC_TYPE "Scaling" |
| #define | SC_EQN "Scaling Equation" |
| #define | BASE "Base" |
| #define | SLOPE "Slope" |
| #define | INTERCEPT "Intercept" |
| #define | SCALE_OFF "Scale Offset" |
| #define | PX_LL_FIRST "px_ll_first" |
| #define | PX_LL_FST_ATTR "Lat/lon of pixels along first scan line" |
| #define | PX_LL_LAST "px_ll_last" |
| #define | PX_LL_LST_ATTR "Lat/lon of pixels along last scan line" |
| #define | SC_LL_FIRST "sc_ll_first" |
| #define | SC_LL_FST_ATTR "Lat/lon of starts of scan lines" |
| #define | SC_LL_LAST "sc_ll_last" |
| #define | SC_LL_LST_ATTR "Lat/lon of ends of scan lines" |
| #define | NTILTS "ntilts" |
| #define | NTILTS_NAME "Number of scene tilt states" |
| #define | T_FLAGS "tilt_flags" |
| #define | T_FLAGS_NAME "Tilt indicators" |
| #define | T_RANGES "tilt_ranges" |
| #define | T_RANGES_NAME "Scan-line number ranges of scene tilt states" |
| #define | T_LATS "tilt_lats" |
| #define | T_LATS_NAME "Latitudes of tilt-range scan line end points" |
| #define | T_LONS "tilt_lons" |
| #define | T_LONS_NAME "Longitudes of tilt-range scan line end points" |
| #define | ORBVEC "orb_vec" |
| #define | ORBVEC_NAME "Orbit position vector at scan line time" |
| #define | ORBVEC_UNITS "kilometers" |
| #define | LVERT "l_vert" |
| #define | LVERT_NAME "Local vertical vector in ECEF frame" |
| #define | SUNREF "sun_ref" |
| #define | SUNREF_NAME "Reference Sun vector in ECEF frame" |
| #define | ATTANG "att_ang" |
| #define | ATTANG_NAME "Computed yaw, roll, pitch" |
| #define | SENMAT "sen_mat" |
| #define | SENMAT_NAME "ECEF-to-sensor-frame matrix" |
| #define | SCANELL "scan_ell" |
| #define | SCANELL_NAME "Scan-track ellipse coefficients" |
| #define | NFLAG "nflag" |
| #define | NFLAG_NAME "Navigation flags" |
| #define | NTILTS "ntilts" |
| #define | TILT_FLAGS "tilt_flags" |
| #define | TILT_RANGES "tilt_ranges" |
| #define | TILT_LATS "tilt_lats" |
| #define | TILT_LONS "tilt_lons" |
| #define | MSEC "msec" |
| #define | ENG_QUAL "eng_qual" |
| #define | S_FLAGS "s_flags" |
| #define | NDVI_DATA "NDVI" |
| #define | L2_FLAGS "l2_flags" |
| #define | ORBVEC "orb_vec" |
| #define | LVERT "l_vert" |
| #define | SUNREF "sun_ref" |
| #define | ATTANG "att_ang" |
| #define | SENMAT "sen_mat" |
| #define | SCANELL "scan_ell" |
| #define | NFLAG "nflag" |
Functions | |
| void | free_rowgroup_cache () |
| void | init_rowgroup_cache () |
| int32 | openL2 (char *, char *, l2_prod *) |
| int32 | reopenL2 (int32, l2_prod *) |
| int32 | readL2 (l2_prod *l2_str, int32 ifile, int32 recnum, int32 iprod, unsigned char *scan_in_rowgroup) |
| int32 | readlonlat (l2_prod *l2_str, int32 ifile, int32 *start, int32 *edges, unsigned char *scan_in_rowgroup) |
| int32 | closeL2 (l2_prod *, int32) |
| int32 | freeL2 (l2_prod *) |
| int32 | findprod (l2_prod *, char *) |
| int32 | readL2meta (meta_l2Type *, int32) |
| int32 | freeL2meta (meta_l2Type *) |
| int32 | getL3units (l2_prod *, int32, char *, char *) |
| #define ATTANG "att_ang" |
Definition at line 298 of file readL2scan.h.
| #define ATTANG "att_ang" |
Definition at line 298 of file readL2scan.h.
| #define ATTANG_NAME "Computed yaw, roll, pitch" |
Definition at line 276 of file readL2scan.h.
| #define BASE "Base" |
Definition at line 240 of file readL2scan.h.
| #define byte unsigned char |
Definition at line 4 of file readL2scan.h.
| #define CLAT "Scene Center Latitude" |
Definition at line 212 of file readL2scan.h.
| #define CLON "Scene Center Longitude" |
Definition at line 213 of file readL2scan.h.
| #define CTIME "Scene Center Time" |
Definition at line 187 of file readL2scan.h.
| #define DCENTER "Data Center" |
Definition at line 148 of file readL2scan.h.
| #define DTYPE "Data Type" |
Definition at line 166 of file readL2scan.h.
| #define EDAY "End Day" |
Definition at line 193 of file readL2scan.h.
| #define ELON "Easternmost Longitude" |
Definition at line 218 of file readL2scan.h.
| #define EMSEC "End Millisec" |
Definition at line 194 of file readL2scan.h.
| #define ENDCLAT "End Center Latitude" |
Definition at line 221 of file readL2scan.h.
| #define ENDCLON "End Center Longitude" |
Definition at line 222 of file readL2scan.h.
| #define ENG_QUAL "eng_qual" |
Definition at line 291 of file readL2scan.h.
Definition at line 196 of file readL2scan.h.
| #define ETIME "End Time" |
Definition at line 186 of file readL2scan.h.
| #define EYEAR "End Year" |
Definition at line 192 of file readL2scan.h.
| #define FFLAG1 "FF Missing Frames" |
Definition at line 173 of file readL2scan.h.
| #define FFLAG2 "SDPS Missing Frames" |
Definition at line 174 of file readL2scan.h.
| #define FLAGNAMES "EPSILON1,LAND1,ANCIL1,SUNGLINT1,HIGHLT1,SATZEN1,COASTZ1,NEGLW1,STRAYLIGHT1,CLDICE1,COCCOLITH1,TRUBIDW1,SOLZEN1,HIGHTAU1,LOWLW1,CHLOR1" |
Definition at line 177 of file readL2scan.h.
| #define INFILES "Input Files" |
Definition at line 157 of file readL2scan.h.
| #define INTERCEPT "Intercept" |
Definition at line 242 of file readL2scan.h.
| #define L2_FLAGS "l2_flags" |
Definition at line 294 of file readL2scan.h.
| #define LAC_PX_ST "LAC Pixel Start Number" |
Definition at line 229 of file readL2scan.h.
| #define LAC_PX_SUBSAMP "LAC Pixel Subsampling" |
Definition at line 231 of file readL2scan.h.
| #define LATUNITS "Latitude Units" |
Definition at line 202 of file readL2scan.h.
| #define LEGEND "Legend" |
Definition at line 147 of file readL2scan.h.
| #define LLLAT "Lower Left Latitude" |
Definition at line 208 of file readL2scan.h.
| #define LLLON "Lower Left Longitude" |
Definition at line 209 of file readL2scan.h.
| #define LONUNITS "Longitude Units" |
Definition at line 203 of file readL2scan.h.
| #define LRLAT "Lower Right Latitude" |
Definition at line 210 of file readL2scan.h.
| #define LRLON "Lower Right Longitude" |
Definition at line 211 of file readL2scan.h.
| #define LVERT "l_vert" |
Definition at line 296 of file readL2scan.h.
| #define LVERT "l_vert" |
Definition at line 296 of file readL2scan.h.
| #define LVERT_NAME "Local vertical vector in ECEF frame" |
Definition at line 272 of file readL2scan.h.
| #define MASKNAMES "Mask Names" |
Definition at line 175 of file readL2scan.h.
| #define MAXNFILES 800 /* Increase to 544 09/25/06 JMG - 800 WDR */ |
Definition at line 6 of file readL2scan.h.
| #define MISSION "Mission" |
Definition at line 149 of file readL2scan.h.
| #define MSEC "msec" |
Definition at line 290 of file readL2scan.h.
| #define MSNCHAR "Mission Characteristics" |
Definition at line 150 of file readL2scan.h.
| #define NDVI_DATA "NDVI" |
Definition at line 293 of file readL2scan.h.
| #define NFLAG "nflag" |
Definition at line 301 of file readL2scan.h.
| #define NFLAG "nflag" |
Definition at line 301 of file readL2scan.h.
| #define NFLAG_NAME "Navigation flags" |
Definition at line 282 of file readL2scan.h.
| #define NFREC "Filled Scan Lines" |
Definition at line 172 of file readL2scan.h.
| #define NLAT "Northernmost Latitude" |
Definition at line 215 of file readL2scan.h.
Definition at line 223 of file readL2scan.h.
| #define NORAD1 "NORAD Line 1" |
Definition at line 198 of file readL2scan.h.
| #define NORAD2 "NORAD Line 2" |
Definition at line 199 of file readL2scan.h.
| #define NPIX "Pixels per Scan Line" |
Definition at line 167 of file readL2scan.h.
| #define NREC "Parent Number of Scan Lines" |
Definition at line 170 of file readL2scan.h.
| #define NSAMP "Parent Pixels per Scan Line" |
Definition at line 168 of file readL2scan.h.
| #define NSCAN "Number of Scan Lines" |
Definition at line 169 of file readL2scan.h.
| #define NTILTS "ntilts" |
Definition at line 285 of file readL2scan.h.
| #define NTILTS "ntilts" |
Definition at line 285 of file readL2scan.h.
| #define NTILTS_NAME "Number of scene tilt states" |
Definition at line 257 of file readL2scan.h.
| #define NTIME "Node Crossing Time" |
Definition at line 188 of file readL2scan.h.
| #define ORBNUM "Orbit Number" |
Definition at line 197 of file readL2scan.h.
| #define ORBVEC "orb_vec" |
Definition at line 295 of file readL2scan.h.
| #define ORBVEC "orb_vec" |
Definition at line 295 of file readL2scan.h.
| #define ORBVEC_NAME "Orbit position vector at scan line time" |
Definition at line 269 of file readL2scan.h.
| #define ORBVEC_UNITS "kilometers" |
Definition at line 270 of file readL2scan.h.
| #define PARAM "Parameter" |
Definition at line 226 of file readL2scan.h.
| #define PCTFLAG "Flag Percentages" |
Definition at line 176 of file readL2scan.h.
| #define PNAME "Product Name" |
Definition at line 145 of file readL2scan.h.
| #define PROC_CON "Processing Control" |
Definition at line 158 of file readL2scan.h.
| #define PROC_LOG "Processing Log" |
Definition at line 159 of file readL2scan.h.
| #define PTIME "Processing Time" |
Definition at line 156 of file readL2scan.h.
| #define PX_LL_FIRST "px_ll_first" |
Definition at line 246 of file readL2scan.h.
| #define PX_LL_FST_ATTR "Lat/lon of pixels along first scan line" |
Definition at line 247 of file readL2scan.h.
| #define PX_LL_LAST "px_ll_last" |
Definition at line 248 of file readL2scan.h.
| #define PX_LL_LST_ATTR "Lat/lon of pixels along last scan line" |
Definition at line 249 of file readL2scan.h.
| #define PX_LL_NUM "Pixel Coordinates" |
Definition at line 236 of file readL2scan.h.
| #define PX_NUM "Pixels per Scan Line" |
Definition at line 232 of file readL2scan.h.
| #define PX_START "Start Pixel" |
Definition at line 228 of file readL2scan.h.
| #define PX_SUBSAMP "Pixel Subsampling Rate" |
Definition at line 230 of file readL2scan.h.
| #define REPLACES "Replacement Flag" |
Definition at line 154 of file readL2scan.h.
| #define S_FLAGS "s_flags" |
Definition at line 292 of file readL2scan.h.
| #define SC_EQN "Scaling Equation" |
Definition at line 239 of file readL2scan.h.
| #define SC_LL_FIRST "sc_ll_first" |
Definition at line 250 of file readL2scan.h.
| #define SC_LL_FST_ATTR "Lat/lon of starts of scan lines" |
Definition at line 251 of file readL2scan.h.
| #define SC_LL_LAST "sc_ll_last" |
Definition at line 252 of file readL2scan.h.
| #define SC_LL_LST_ATTR "Lat/lon of ends of scan lines" |
Definition at line 253 of file readL2scan.h.
| #define SC_LL_NUM "Scan Coordinates" |
Definition at line 237 of file readL2scan.h.
| #define SC_NUM "Number of Scan Lines" |
Definition at line 235 of file readL2scan.h.
| #define SC_START "Start Scan" |
Definition at line 233 of file readL2scan.h.
| #define SC_SUBSAMP "Scan Subsampling Rate" |
Definition at line 234 of file readL2scan.h.
| #define SC_TYPE "Scaling" |
Definition at line 238 of file readL2scan.h.
| #define SCALE_OFF "Scale Offset" |
Definition at line 243 of file readL2scan.h.
| #define SCANELL "scan_ell" |
Definition at line 300 of file readL2scan.h.
| #define SCANELL "scan_ell" |
Definition at line 300 of file readL2scan.h.
| #define SCANELL_NAME "Scan-track ellipse coefficients" |
Definition at line 280 of file readL2scan.h.
| #define SCSOL_Z "Scene Center Solar Zenith" |
Definition at line 214 of file readL2scan.h.
| #define SDAY "Start Day" |
Definition at line 190 of file readL2scan.h.
| #define SENMAT "sen_mat" |
Definition at line 299 of file readL2scan.h.
| #define SENMAT "sen_mat" |
Definition at line 299 of file readL2scan.h.
| #define SENMAT_NAME "ECEF-to-sensor-frame matrix" |
Definition at line 278 of file readL2scan.h.
| #define SENNME "Sensor Name" |
Definition at line 151 of file readL2scan.h.
| #define SENSOR "Sensor" |
Definition at line 152 of file readL2scan.h.
| #define SLAT "Southernmost Latitude" |
Definition at line 216 of file readL2scan.h.
| #define SLOPE "Slope" |
Definition at line 241 of file readL2scan.h.
| #define SMSEC "Start Millisec" |
Definition at line 191 of file readL2scan.h.
| #define SNCNTR "Scene Center Scan Line" |
Definition at line 171 of file readL2scan.h.
Definition at line 195 of file readL2scan.h.
| #define SNSCHAR "Sensor Characteristics" |
Definition at line 153 of file readL2scan.h.
| #define SOFTID "Software ID" |
Definition at line 155 of file readL2scan.h.
| #define STATION "Station Name" |
Definition at line 163 of file readL2scan.h.
| #define STCLAT "Start Center Latitude" |
Definition at line 219 of file readL2scan.h.
| #define STCLON "Start Center Longitude" |
Definition at line 220 of file readL2scan.h.
| #define STIME "Start Time" |
Definition at line 180 of file readL2scan.h.
| #define STLAT "Station Latitude" |
Definition at line 164 of file readL2scan.h.
| #define STLON "Station Longitude" |
Definition at line 165 of file readL2scan.h.
| #define SUNREF "sun_ref" |
Definition at line 297 of file readL2scan.h.
| #define SUNREF "sun_ref" |
Definition at line 297 of file readL2scan.h.
| #define SUNREF_NAME "Reference Sun vector in ECEF frame" |
Definition at line 274 of file readL2scan.h.
| #define SYEAR "Start Year" |
Definition at line 189 of file readL2scan.h.
| #define T_FLAGS "tilt_flags" |
Definition at line 258 of file readL2scan.h.
| #define T_FLAGS_NAME "Tilt indicators" |
Definition at line 259 of file readL2scan.h.
| #define T_LATS "tilt_lats" |
Definition at line 262 of file readL2scan.h.
| #define T_LATS_NAME "Latitudes of tilt-range scan line end points" |
Definition at line 263 of file readL2scan.h.
| #define T_LONS "tilt_lons" |
Definition at line 264 of file readL2scan.h.
| #define T_LONS_NAME "Longitudes of tilt-range scan line end points" |
Definition at line 265 of file readL2scan.h.
| #define T_RANGES "tilt_ranges" |
Definition at line 260 of file readL2scan.h.
| #define T_RANGES_NAME "Scan-line number ranges of scene tilt states" |
Definition at line 261 of file readL2scan.h.
| #define TILT_FLAGS "tilt_flags" |
Definition at line 286 of file readL2scan.h.
| #define TILT_LATS "tilt_lats" |
Definition at line 288 of file readL2scan.h.
| #define TILT_LONS "tilt_lons" |
Definition at line 289 of file readL2scan.h.
| #define TILT_RANGES "tilt_ranges" |
Definition at line 287 of file readL2scan.h.
| #define TITLE "Title" |
Definition at line 146 of file readL2scan.h.
| #define ULLAT "Upper Left Latitude" |
Definition at line 204 of file readL2scan.h.
| #define ULLON "Upper Left Longitude" |
Definition at line 205 of file readL2scan.h.
| #define UNITS "Units" |
Definition at line 227 of file readL2scan.h.
| #define URLAT "Upper Right Latitude" |
Definition at line 206 of file readL2scan.h.
| #define URLON "Upper Right Longitude" |
Definition at line 207 of file readL2scan.h.
| #define WLON "Westernmost Longitude" |
Definition at line 217 of file readL2scan.h.
Definition at line 1160 of file readL2scan.c.
Definition at line 1298 of file readL2scan.c.
| void free_rowgroup_cache | ( | ) |
Definition at line 104 of file readL2scan.c.
Definition at line 1262 of file readL2scan.c.
| int32 freeL2meta | ( | meta_l2Type * | ) |
Definition at line 1447 of file readL2scan.c.
| int32 getL3units | ( | l2_prod * | , |
| int32 | , | ||
| char * | , | ||
| char * | |||
| ) |
Definition at line 1469 of file readL2scan.c.
| void init_rowgroup_cache | ( | ) |
Definition at line 133 of file readL2scan.c.
Definition at line 153 of file readL2scan.c.
| int32 readL2 | ( | l2_prod * | l2_str, |
| int32 | ifile, | ||
| int32 | recnum, | ||
| int32 | iprod, | ||
| unsigned char * | scan_in_rowgroup | ||
| ) |
Definition at line 749 of file readL2scan.c.
| int32 readL2meta | ( | meta_l2Type * | , |
| int32 | |||
| ) |
Definition at line 1310 of file readL2scan.c.
| int32 readlonlat | ( | l2_prod * | l2_str, |
| int32 | ifile, | ||
| int32 * | start, | ||
| int32 * | edges, | ||
| unsigned char * | scan_in_rowgroup | ||
| ) |
Definition at line 974 of file readL2scan.c.
Definition at line 657 of file readL2scan.c.
1.7.6.1