|
ocssw
1.0
|
#include <stdio.h>#include <math.h>#include <stdlib.h>#include <string.h>#include "hdf.h"#include "mfhdf.h"#include "l2qc.h"Go to the source code of this file.
Defines | |
| #define | PNAME "Product Name" |
| #define | TITLE "Title" |
| #define | LEGEND "Legend" |
| #define | DCENTER "Data Center" |
| #define | MISSION "Mission" |
| #define | MSNCHAR "Mission Characteristics" |
| #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" |
Variables | |
| char | ERR_MSG [1024] |
| #define ATTANG "att_ang" |
Definition at line 163 of file l2qc_attrs.h.
| #define ATTANG "att_ang" |
Definition at line 163 of file l2qc_attrs.h.
| #define ATTANG_NAME "Computed yaw, roll, pitch" |
Definition at line 140 of file l2qc_attrs.h.
| #define BASE "Base" |
Definition at line 104 of file l2qc_attrs.h.
| #define CLAT "Scene Center Latitude" |
Definition at line 76 of file l2qc_attrs.h.
| #define CLON "Scene Center Longitude" |
Definition at line 77 of file l2qc_attrs.h.
| #define CTIME "Scene Center Time" |
Definition at line 51 of file l2qc_attrs.h.
| #define DCENTER "Data Center" |
Definition at line 18 of file l2qc_attrs.h.
| #define DTYPE "Data Type" |
Definition at line 35 of file l2qc_attrs.h.
| #define EDAY "End Day" |
Definition at line 57 of file l2qc_attrs.h.
| #define ELON "Easternmost Longitude" |
Definition at line 82 of file l2qc_attrs.h.
| #define EMSEC "End Millisec" |
Definition at line 58 of file l2qc_attrs.h.
| #define ENDCLAT "End Center Latitude" |
Definition at line 85 of file l2qc_attrs.h.
| #define ENDCLON "End Center Longitude" |
Definition at line 86 of file l2qc_attrs.h.
| #define ENG_QUAL "eng_qual" |
Definition at line 156 of file l2qc_attrs.h.
Definition at line 60 of file l2qc_attrs.h.
| #define ETIME "End Time" |
Definition at line 50 of file l2qc_attrs.h.
| #define EYEAR "End Year" |
Definition at line 56 of file l2qc_attrs.h.
| #define FFLAG1 "FF Missing Frames" |
Definition at line 42 of file l2qc_attrs.h.
| #define FFLAG2 "SDPS Missing Frames" |
Definition at line 43 of file l2qc_attrs.h.
| #define FLAGNAMES "EPSILON1,LAND1,ANCIL1,SUNGLINT1,HIGHLT1,SATZEN1,COASTZ1,NEGLW1,STRAYLIGHT1,CLDICE1,COCCOLITH1,TRUBIDW1,SOLZEN1,HIGHTAU1,LOWLW1,CHLOR1" |
Definition at line 46 of file l2qc_attrs.h.
| #define INFILES "Input Files" |
Definition at line 26 of file l2qc_attrs.h.
| #define INTERCEPT "Intercept" |
Definition at line 106 of file l2qc_attrs.h.
| #define L2_FLAGS "l2_flags" |
Definition at line 159 of file l2qc_attrs.h.
| #define LAC_PX_ST "LAC Pixel Start Number" |
Definition at line 93 of file l2qc_attrs.h.
| #define LAC_PX_SUBSAMP "LAC Pixel Subsampling" |
Definition at line 95 of file l2qc_attrs.h.
| #define LATUNITS "Latitude Units" |
Definition at line 66 of file l2qc_attrs.h.
| #define LEGEND "Legend" |
Definition at line 17 of file l2qc_attrs.h.
| #define LLLAT "Lower Left Latitude" |
Definition at line 72 of file l2qc_attrs.h.
| #define LLLON "Lower Left Longitude" |
Definition at line 73 of file l2qc_attrs.h.
| #define LONUNITS "Longitude Units" |
Definition at line 67 of file l2qc_attrs.h.
| #define LRLAT "Lower Right Latitude" |
Definition at line 74 of file l2qc_attrs.h.
| #define LRLON "Lower Right Longitude" |
Definition at line 75 of file l2qc_attrs.h.
| #define LVERT "l_vert" |
Definition at line 161 of file l2qc_attrs.h.
| #define LVERT "l_vert" |
Definition at line 161 of file l2qc_attrs.h.
| #define LVERT_NAME "Local vertical vector in ECEF frame" |
Definition at line 136 of file l2qc_attrs.h.
| #define MASKNAMES "Mask Names" |
Definition at line 44 of file l2qc_attrs.h.
| #define MISSION "Mission" |
Definition at line 19 of file l2qc_attrs.h.
| #define MSEC "msec" |
Definition at line 155 of file l2qc_attrs.h.
| #define MSNCHAR "Mission Characteristics" |
Definition at line 20 of file l2qc_attrs.h.
| #define NDVI_DATA "NDVI" |
Definition at line 158 of file l2qc_attrs.h.
| #define NFLAG "nflag" |
Definition at line 166 of file l2qc_attrs.h.
| #define NFLAG "nflag" |
Definition at line 166 of file l2qc_attrs.h.
| #define NFLAG_NAME "Navigation flags" |
Definition at line 146 of file l2qc_attrs.h.
| #define NFREC "Filled Scan Lines" |
Definition at line 41 of file l2qc_attrs.h.
| #define NLAT "Northernmost Latitude" |
Definition at line 79 of file l2qc_attrs.h.
Definition at line 87 of file l2qc_attrs.h.
| #define NORAD1 "NORAD Line 1" |
Definition at line 62 of file l2qc_attrs.h.
| #define NORAD2 "NORAD Line 2" |
Definition at line 63 of file l2qc_attrs.h.
| #define NPIX "Pixels per Scan Line" |
Definition at line 36 of file l2qc_attrs.h.
| #define NREC "Parent Number of Scan Lines" |
Definition at line 39 of file l2qc_attrs.h.
| #define NSAMP "Parent Pixels per Scan Line" |
Definition at line 37 of file l2qc_attrs.h.
| #define NSCAN "Number of Scan Lines" |
Definition at line 38 of file l2qc_attrs.h.
| #define NTILTS "ntilts" |
Definition at line 150 of file l2qc_attrs.h.
| #define NTILTS "ntilts" |
Definition at line 150 of file l2qc_attrs.h.
| #define NTILTS_NAME "Number of scene tilt states" |
Definition at line 121 of file l2qc_attrs.h.
| #define NTIME "Node Crossing Time" |
Definition at line 52 of file l2qc_attrs.h.
| #define ORBNUM "Orbit Number" |
Definition at line 61 of file l2qc_attrs.h.
| #define ORBVEC "orb_vec" |
Definition at line 160 of file l2qc_attrs.h.
| #define ORBVEC "orb_vec" |
Definition at line 160 of file l2qc_attrs.h.
| #define ORBVEC_NAME "Orbit position vector at scan line time" |
Definition at line 133 of file l2qc_attrs.h.
| #define ORBVEC_UNITS "kilometers" |
Definition at line 134 of file l2qc_attrs.h.
| #define PARAM "Parameter" |
Definition at line 90 of file l2qc_attrs.h.
| #define PCTFLAG "Flag Percentages" |
Definition at line 45 of file l2qc_attrs.h.
| #define PNAME "Product Name" |
Definition at line 15 of file l2qc_attrs.h.
| #define PROC_CON "Processing Control" |
Definition at line 27 of file l2qc_attrs.h.
| #define PROC_LOG "Processing Log" |
Definition at line 28 of file l2qc_attrs.h.
| #define PTIME "Processing Time" |
Definition at line 25 of file l2qc_attrs.h.
| #define PX_LL_FIRST "px_ll_first" |
Definition at line 110 of file l2qc_attrs.h.
| #define PX_LL_FST_ATTR "Lat/lon of pixels along first scan line" |
Definition at line 111 of file l2qc_attrs.h.
| #define PX_LL_LAST "px_ll_last" |
Definition at line 112 of file l2qc_attrs.h.
| #define PX_LL_LST_ATTR "Lat/lon of pixels along last scan line" |
Definition at line 113 of file l2qc_attrs.h.
| #define PX_LL_NUM "Pixel Coordinates" |
Definition at line 100 of file l2qc_attrs.h.
| #define PX_NUM "Pixels per Scan Line" |
Definition at line 96 of file l2qc_attrs.h.
| #define PX_START "Start Pixel" |
Definition at line 92 of file l2qc_attrs.h.
| #define PX_SUBSAMP "Pixel Subsampling Rate" |
Definition at line 94 of file l2qc_attrs.h.
| #define REPLACES "Replacement Flag" |
Definition at line 23 of file l2qc_attrs.h.
| #define S_FLAGS "s_flags" |
Definition at line 157 of file l2qc_attrs.h.
| #define SC_EQN "Scaling Equation" |
Definition at line 103 of file l2qc_attrs.h.
| #define SC_LL_FIRST "sc_ll_first" |
Definition at line 114 of file l2qc_attrs.h.
| #define SC_LL_FST_ATTR "Lat/lon of starts of scan lines" |
Definition at line 115 of file l2qc_attrs.h.
| #define SC_LL_LAST "sc_ll_last" |
Definition at line 116 of file l2qc_attrs.h.
| #define SC_LL_LST_ATTR "Lat/lon of ends of scan lines" |
Definition at line 117 of file l2qc_attrs.h.
| #define SC_LL_NUM "Scan Coordinates" |
Definition at line 101 of file l2qc_attrs.h.
| #define SC_NUM "Number of Scan Lines" |
Definition at line 99 of file l2qc_attrs.h.
| #define SC_START "Start Scan" |
Definition at line 97 of file l2qc_attrs.h.
| #define SC_SUBSAMP "Scan Subsampling Rate" |
Definition at line 98 of file l2qc_attrs.h.
| #define SC_TYPE "Scaling" |
Definition at line 102 of file l2qc_attrs.h.
| #define SCALE_OFF "Scale Offset" |
Definition at line 107 of file l2qc_attrs.h.
| #define SCANELL "scan_ell" |
Definition at line 165 of file l2qc_attrs.h.
| #define SCANELL "scan_ell" |
Definition at line 165 of file l2qc_attrs.h.
| #define SCANELL_NAME "Scan-track ellipse coefficients" |
Definition at line 144 of file l2qc_attrs.h.
| #define SCSOL_Z "Scene Center Solar Zenith" |
Definition at line 78 of file l2qc_attrs.h.
| #define SDAY "Start Day" |
Definition at line 54 of file l2qc_attrs.h.
| #define SENMAT "sen_mat" |
Definition at line 164 of file l2qc_attrs.h.
| #define SENMAT "sen_mat" |
Definition at line 164 of file l2qc_attrs.h.
| #define SENMAT_NAME "ECEF-to-sensor-frame matrix" |
Definition at line 142 of file l2qc_attrs.h.
| #define SENSOR "Sensor" |
Definition at line 21 of file l2qc_attrs.h.
| #define SLAT "Southernmost Latitude" |
Definition at line 80 of file l2qc_attrs.h.
| #define SLOPE "Slope" |
Definition at line 105 of file l2qc_attrs.h.
| #define SMSEC "Start Millisec" |
Definition at line 55 of file l2qc_attrs.h.
| #define SNCNTR "Scene Center Scan Line" |
Definition at line 40 of file l2qc_attrs.h.
Definition at line 59 of file l2qc_attrs.h.
| #define SNSCHAR "Sensor Characteristics" |
Definition at line 22 of file l2qc_attrs.h.
| #define SOFTID "Software ID" |
Definition at line 24 of file l2qc_attrs.h.
| #define STATION "Station Name" |
Definition at line 32 of file l2qc_attrs.h.
| #define STCLAT "Start Center Latitude" |
Definition at line 83 of file l2qc_attrs.h.
| #define STCLON "Start Center Longitude" |
Definition at line 84 of file l2qc_attrs.h.
| #define STIME "Start Time" |
Definition at line 49 of file l2qc_attrs.h.
| #define STLAT "Station Latitude" |
Definition at line 33 of file l2qc_attrs.h.
| #define STLON "Station Longitude" |
Definition at line 34 of file l2qc_attrs.h.
| #define SUNREF "sun_ref" |
Definition at line 162 of file l2qc_attrs.h.
| #define SUNREF "sun_ref" |
Definition at line 162 of file l2qc_attrs.h.
| #define SUNREF_NAME "Reference Sun vector in ECEF frame" |
Definition at line 138 of file l2qc_attrs.h.
| #define SYEAR "Start Year" |
Definition at line 53 of file l2qc_attrs.h.
| #define T_FLAGS "tilt_flags" |
Definition at line 122 of file l2qc_attrs.h.
| #define T_FLAGS_NAME "Tilt indicators" |
Definition at line 123 of file l2qc_attrs.h.
| #define T_LATS "tilt_lats" |
Definition at line 126 of file l2qc_attrs.h.
| #define T_LATS_NAME "Latitudes of tilt-range scan line end points" |
Definition at line 127 of file l2qc_attrs.h.
| #define T_LONS "tilt_lons" |
Definition at line 128 of file l2qc_attrs.h.
| #define T_LONS_NAME "Longitudes of tilt-range scan line end points" |
Definition at line 129 of file l2qc_attrs.h.
| #define T_RANGES "tilt_ranges" |
Definition at line 124 of file l2qc_attrs.h.
| #define T_RANGES_NAME "Scan-line number ranges of scene tilt states" |
Definition at line 125 of file l2qc_attrs.h.
| #define TILT_FLAGS "tilt_flags" |
Definition at line 151 of file l2qc_attrs.h.
| #define TILT_LATS "tilt_lats" |
Definition at line 153 of file l2qc_attrs.h.
| #define TILT_LONS "tilt_lons" |
Definition at line 154 of file l2qc_attrs.h.
| #define TILT_RANGES "tilt_ranges" |
Definition at line 152 of file l2qc_attrs.h.
| #define TITLE "Title" |
Definition at line 16 of file l2qc_attrs.h.
| #define ULLAT "Upper Left Latitude" |
Definition at line 68 of file l2qc_attrs.h.
| #define ULLON "Upper Left Longitude" |
Definition at line 69 of file l2qc_attrs.h.
| #define UNITS "Units" |
Definition at line 91 of file l2qc_attrs.h.
| #define URLAT "Upper Right Latitude" |
Definition at line 70 of file l2qc_attrs.h.
| #define URLON "Upper Right Longitude" |
Definition at line 71 of file l2qc_attrs.h.
| #define WLON "Westernmost Longitude" |
Definition at line 81 of file l2qc_attrs.h.
| char ERR_MSG[1024] |
Definition at line 119 of file extract_sub.c.
1.7.6.1