NASA Logo
Ocean Color Science Software

ocssw V2022
run_local Namespace Reference

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
 

Function Documentation

◆ get_matching_chips()

def run_local.get_matching_chips (   feature_file,
  polygon 
)

Definition at line 24 of file run_local.py.

◆ get_polygon()

def run_local.get_polygon (   lat,
  lon 
)

Definition at line 13 of file run_local.py.

Variable Documentation

◆ action

action

Definition at line 61 of file run_local.py.

◆ args

args = parser.parse_args()

Definition at line 67 of file run_local.py.

◆ debug

debug

Definition at line 63 of file run_local.py.

◆ debug_mode

bool debug_mode = False

Definition at line 73 of file run_local.py.

◆ dest

dest

Definition at line 62 of file run_local.py.

◆ dir_chips

dir_chips = args.idir

Definition at line 71 of file run_local.py.

◆ feature_file

feature_file = os.path.join(dir_chips, "chipindex.csv")

Definition at line 72 of file run_local.py.

◆ feature_names

Definition at line 74 of file run_local.py.

◆ help

help

Definition at line 56 of file run_local.py.

◆ l1b_path

l1b_path = args.ifile

Definition at line 68 of file run_local.py.

◆ lat

lat

Definition at line 69 of file run_local.py.

◆ lon

lon

Definition at line 69 of file run_local.py.

◆ outfile

outfile = os.path.join(args.odir, f"gcpm-{os.path.basename(l1b_path)}.csv")

Definition at line 76 of file run_local.py.

◆ parser

parser = argparse.ArgumentParser()

Definition at line 54 of file run_local.py.

◆ polygon

def polygon = get_polygon(lat, lon)

Definition at line 70 of file run_local.py.

◆ required

required

Definition at line 56 of file run_local.py.

◆ ret_code

ret_code
Initial value:
2  l1b_path, feature_names, outfile, debug_mode=args.debug)

Definition at line 80 of file run_local.py.

◆ str

str

Definition at line 56 of file run_local.py.

◆ type

type

Definition at line 56 of file run_local.py.

def get_lat_lon_shift(str l1b_path, List[str] chips_list, str output_file_name, debug_mode=False, **kwargs)
Definition: geo_eval.py:354