NASA Logo
Ocean Color Science Software

ocssw V2022
run_local.py File Reference

Go to the source code of this file.

Namespaces

 run_local
 

Functions

def get_polygon (lat, lon)
 
def get_matching_chips (feature_file, polygon)
 

Variables

 parser = argparse.ArgumentParser()
 
 help
 
 type
 
 str
 
 required
 
 action
 
 dest
 
 debug
 
 args = parser.parse_args()
 
 l1b_path = args.ifile
 
 lat
 
 lon
 
def polygon = get_polygon(lat, lon)
 
 dir_chips = args.idir
 
 feature_file = os.path.join(dir_chips, "chipindex.csv")
 
bool debug_mode = False
 
def feature_names = get_matching_chips(feature_file, polygon)
 
 outfile = os.path.join(args.odir, f"gcpm-{os.path.basename(l1b_path)}.csv")
 
 ret_code