OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
merge_afrt Namespace Reference

Functions

def main ()
 
def sortbymodel (nameRegEx, fname)
 
def createMergedNetCDF (ofile, dimensions, variables, sensor)
 

Variables

 LOG = logging.getLogger('afrt')
 
 sensors = collections.defaultdict(dict)
 

Detailed Description

* NAME: merge_afrt.py
*
* DESCRIPTION: Executable program to merge afrt (radiative
* transfer) NetCDF4 files

* USAGE: python merge_afrt.py -p [PCF file path] -wl [wavelength range] 
        -sd [particle model range] -tau [optical depth range]
        -wnd [wind speed range] 

* Created on October 09, 2018

* Author: Samuel Anderson
* NAME: merge_afrt.py
*
* DESCRIPTION: Executable program to merge afrt (radiative
* transfer) NetCDF4 files

* Created on October 09, 2018

* Author: Samuel Anderson
* heavily modified on August 05, 2019 by Sean Bailey

Function Documentation

◆ createMergedNetCDF()

def merge_afrt.createMergedNetCDF (   ofile,
  dimensions,
  variables,
  sensor 
)

Definition at line 84 of file merge_afrt.py.

◆ main()

def main ( )

Main Function #.

Definition at line 31 of file merge_afrt.py.

◆ sortbymodel()

def merge_afrt.sortbymodel (   nameRegEx,
  fname 
)

Definition at line 77 of file merge_afrt.py.

Variable Documentation

◆ LOG

LOG = logging.getLogger('afrt')

Definition at line 22 of file merge_afrt.py.

◆ sensors

sensors = collections.defaultdict(dict)

TODO: use $OCDATAROOT/common/SensorInfo.json as starter dict read file.

parse file sensors = json.loads(sensorDefs) print(sensors)

Definition at line 38 of file merge_afrt.py.