OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022

Public Member Functions

def __init__ (self, iArgs, **kwds)
 
def ConvertRaw2Rad (self)
 
def FillWriteFlags (self, ncgrp)
 
def WriteRadFile (self, prodGrp, periodGrp)
 

Static Public Member Functions

def GetLineAveragedPic (tempData)
 

Public Attributes

 logger
 
 inpDict
 
 fNamesDict
 
 params
 
 debugDict
 
 geomDict
 
 headerDict
 
 badDataDict
 
 outFilNamesDict
 
 ancDict
 
 L0
 
 floatData
 

Detailed Description

Object to assemble the data for converting a HICO L0 file to
L1b format.
Optional keyword arguments:
hdrFile: header file name
  => default: <L0 basename>.hdr
csvFile: csv file name
  => default: <L0 basename>.csv
outFile: output file name
  => default: <L0 basename>.nc
bandScaleFactorFile: as the name suggests
  => default: Gao_scaling_Final_1_2012.txt
hicoFitCoeffsFile: radiometric calibration file name
  => default: coeff_080706g10emncexp0137ls4l_it13_ftt111_smoothed_2ndcorrsm074x1_asm10_bsm20_
              wsm12_iss_1_2012.dat
wvlFile: wavelength file name
  => default: "HICO_Wavlns_FWHM_128_Chnls_Gao_Shift_0p84nm_v2p0_1column.txt"
issXVVFile: ISS data file name
  => default: "ISS_MINUS_XVV.TXT"
secOrFile: second order correction coefficients file name
  => default: "HICO_Empirical_water_scale_ftt1.11ms_1_2012.txt"
r2rInputParamFile: processing parameters, defaults will be applied if not
  supplied
doCal: calibration flag
  => default = true.

Definition at line 68 of file HicoL0toL1B.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  iArgs,
**  kwds 
)

Definition at line 97 of file HicoL0toL1B.py.

Member Function Documentation

◆ ConvertRaw2Rad()

def ConvertRaw2Rad (   self)

Definition at line 809 of file HicoL0toL1B.py.

◆ FillWriteFlags()

def FillWriteFlags (   self,
  ncgrp 
)
Fills bad data flags array. Flags array is then saved to file.
Flagbits used are 0, 1, 2, 4, 5, 6; also 7 if doCal option is on.
Bit 3, NAVWARN, is set by default

Definition at line 1083 of file HicoL0toL1B.py.

◆ GetLineAveragedPic()

def GetLineAveragedPic (   tempData)
static

Definition at line 307 of file HicoL0toL1B.py.

◆ WriteRadFile()

def WriteRadFile (   self,
  prodGrp,
  periodGrp 
)
Writes _rad.bil (and _rad.hdr files?).

Steps: assess whether to export as bil or bip and transpose accordingly,
 extract data
 write data
Note: The data array, initially, has dims nl x nb x ns, where
nl = number of lines, nb = number of bands, ns = number of samples.

Definition at line 1128 of file HicoL0toL1B.py.

Member Data Documentation

◆ ancDict

ancDict

Definition at line 173 of file HicoL0toL1B.py.

◆ badDataDict

badDataDict

Definition at line 168 of file HicoL0toL1B.py.

◆ debugDict

debugDict

Definition at line 156 of file HicoL0toL1B.py.

◆ floatData

floatData

Definition at line 190 of file HicoL0toL1B.py.

◆ fNamesDict

fNamesDict

Definition at line 103 of file HicoL0toL1B.py.

◆ geomDict

geomDict

Definition at line 157 of file HicoL0toL1B.py.

◆ headerDict

headerDict

Definition at line 160 of file HicoL0toL1B.py.

◆ inpDict

inpDict

Definition at line 102 of file HicoL0toL1B.py.

◆ L0

L0

Definition at line 177 of file HicoL0toL1B.py.

◆ logger

logger

Definition at line 101 of file HicoL0toL1B.py.

◆ outFilNamesDict

outFilNamesDict

Definition at line 169 of file HicoL0toL1B.py.

◆ params

params

Definition at line 144 of file HicoL0toL1B.py.


The documentation for this class was generated from the following file:
  • /gfs-oceanweb/web/ocssw/ocssw_src/src/l1bgen_hico/hico/HicoL0toL1B.py