NASA Logo
Ocean Color Science Software

ocssw V2022
l1aconvert_czcs Namespace Reference

Functions

def main ()
 
def closeFiles ()
 
def convertToNetcdfName (str string)
 
def copyGlobalAttributes (str iFile, str oFile)
 
def copyDimensions ()
 
def assignNcVarAttr (ncVar, dict attrDict, dataType)
 
def copyDatasets ()
 

Variables

 HDF_MODE = SDC.READ
 
string NC_MODE = "w"
 
string NC_FORMAT = "NETCDF4"
 
dictionary GET_NC_TYPES
 
 hdfFile = None
 
 ncFile = None
 
string errorAt = ""
 

Function Documentation

◆ assignNcVarAttr()

def l1aconvert_czcs.assignNcVarAttr (   ncVar,
dict  attrDict,
  dataType 
)

Definition at line 248 of file l1aconvert_czcs.py.

◆ closeFiles()

def l1aconvert_czcs.closeFiles ( )

Definition at line 88 of file l1aconvert_czcs.py.

◆ convertToNetcdfName()

def l1aconvert_czcs.convertToNetcdfName ( str  string)

Definition at line 101 of file l1aconvert_czcs.py.

◆ copyDatasets()

def l1aconvert_czcs.copyDatasets ( )

Definition at line 281 of file l1aconvert_czcs.py.

◆ copyDimensions()

def l1aconvert_czcs.copyDimensions ( )

Definition at line 204 of file l1aconvert_czcs.py.

◆ copyGlobalAttributes()

def l1aconvert_czcs.copyGlobalAttributes ( str  iFile,
str  oFile 
)

Definition at line 113 of file l1aconvert_czcs.py.

◆ main()

def l1aconvert_czcs.main ( )

Definition at line 45 of file l1aconvert_czcs.py.

Variable Documentation

◆ errorAt

string errorAt = ""

Definition at line 41 of file l1aconvert_czcs.py.

◆ GET_NC_TYPES

dictionary GET_NC_TYPES
Initial value:
1 = {
2  SDC.UINT8: np.uint8, # ubyte
3  SDC.FLOAT32: np.float32, # float
4  SDC.INT16: np.int16, # short
5  SDC.INT32: np.int32 # int
6 }

Definition at line 30 of file l1aconvert_czcs.py.

◆ HDF_MODE

HDF_MODE = SDC.READ

Definition at line 21 of file l1aconvert_czcs.py.

◆ hdfFile

hdfFile = None

Definition at line 39 of file l1aconvert_czcs.py.

◆ NC_FORMAT

string NC_FORMAT = "NETCDF4"

Definition at line 23 of file l1aconvert_czcs.py.

◆ NC_MODE

string NC_MODE = "w"

Definition at line 22 of file l1aconvert_czcs.py.

◆ ncFile

ncFile = None

Definition at line 40 of file l1aconvert_czcs.py.