NASA Logo
Ocean Color Science Software

ocssw V2022
geo_eval.py File Reference

Go to the source code of this file.

Namespaces

 geo_eval
 

Functions

def check_for_bad_geolocation (coord)
 
def get_cloud_mask (str cld_file)
 
List[strread_file_list (str path_chips)
 
np.ndarray get_scantime (List[int] year, List[int] day, List[int] msec)
 
def get_viirs_modis_lat_lon_scantime (nc.Dataset f)
 
def get_linenumber ()
 
def read_file_l1b (str path)
 
def get_position (np.ndarray lat, np.ndarray lon, feature_lat, feature_lon)
 
def lorentzian (latlon, x0, y0, GammaX, GammaY, Factor, alpha, Amplitude, offset)
 
def read_chip_file (str path)
 
def parse_command_line ()
 
def ini_input_data (lat, lon, path_chip)
 
def make_rectangular_grid (np.ndarray lat, np.ndarray lon, np.ndarray data)
 
def extract_scene (lat, lon, i, j, w, h, image=None)
 
def get_match_layers (rbs, point, sc_lon, sc_lat, sc_image, shift_lon, shift_lat)
 
def get_cross_normalized_correlation (rbs, point, sc_lon, sc_lat, sc_image, shift_lon, shift_lat)
 
def get_lat_lon_fit_shifts (ncc_original, lat_grid, lon_grid, delta_latitude, delta_longitude)
 
def get_lat_lon_shift (str l1b_path, List[str] chips_list, str output_file_name, debug_mode=False, **kwargs)
 

Variables

string PROGRAM_NAME = 'geo_eval'
 
string VERSION = "1.3.1"
 
float bad_float = -32767.0
 
 running_time = datetime.datetime.now()
 
 RUNNING_TIME = running_time.strftime("%Y-%m-%dT%H%M%S")
 
int subpixels_default_max = 30
 
int subpixels_default = 15
 
int window_size_defalut = 5
 
int min_number_of_points = 100
 
 cf = currentframe()
 
 filename_script = getframeinfo(cf).filename
 
def args = parse_command_line()
 
def l1b_path = args.ifile
 
List[strchips_list = read_file_list(args.ilist)
 
def ofile = args.ofile
 
def cloud_mask_file = args.cloudmask
 
def window_size = args.window_size
 
def subpixels = args.subpixels
 
def ret_code