OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l1mapgen.py File Reference

Go to the source code of this file.

Namespaces

 l1mapgen
 

Functions

def getBinRes (resolution)
 
def get_rhots (binfile)
 

Variables

 parser = argparse.ArgumentParser(formatter_class=argparse.RawTextHelpFormatter,description=,add_help=True)
 
 type
 
 str
 
 help
 
 nargs
 
 default
 
 choices
 
 float
 
 action
 
 False
 
 args = parser.parse_args()
 
 param_proc = ParamProcessing(parfile=args.parfile)
 
 value = param_proc.params['main'][param]
 
 ifile
 
 extension = args.oformat
 
list default_opts = ["product_rgb", "palfile", "north", "south", "east", "west", "central_meridian"]
 
list geo_opts = ["north", "south", "east", "west"]
 
list l2bin_opts = ["resolution"]
 
list l3map_opts = ["resolution", "product_rgb", "oformat", "north", "south", "west", "east", "projection", "central_meridian", "palfile", "fudge", "threshold"]
 
string tmpfile_l2gen = "tmp.l2gen"
 
string tmpfile_l2bin = "tmp.l2bin"
 
list ifiles = []
 
list geofiles = []
 
 l2filelst = open(tmpfile_l2gen,'w')
 
 l1file = l1file.strip()
 
list clo = ["l2gen"]
 
string ofile = tmpfile_l2gen + '_'+str(i)
 
 check
 
 stdout
 
 PIPE
 
 stderr
 
 STDOUT
 
 l2f = l2f.strip()