ocssw
V2022
|
Functions | |
def | main () |
def | check_SBfile (parser, file_sb) |
def | check_SBfile_latlon (parser, ds) |
def | check_lat (parser, lat) |
def | check_lon (parser, lon) |
def | check_lat_relative (parser, slat, elat) |
def | check_lon_relative (parser, slon, elon) |
def | check_time (parser, tim) |
def | check_time_relative (parser, tim_min, tim_max) |
def | send_CMRreq (url) |
def | process_CMRreq (content, hits, granlinks) |
def | download_file (url, out_dir) |
def | print_CMRreq (hits, granlinks, plat_ls, args, dict_args, sbfile) |
def | processANDprint_CMRreq (content, granlinks, plat_ls, args, dict_args, tim_min, tim_max) |
Function Documentation
◆ check_lat()
def fd_matchup.check_lat | ( | parser, | |
lat | |||
) |
function to verify lat range
Definition at line 423 of file fd_matchup.py.
◆ check_lat_relative()
def fd_matchup.check_lat_relative | ( | parser, | |
slat, | |||
elat | |||
) |
function to verify two lats relative to each other
Definition at line 436 of file fd_matchup.py.
◆ check_lon()
def fd_matchup.check_lon | ( | parser, | |
lon | |||
) |
function to verify lon range
Definition at line 430 of file fd_matchup.py.
◆ check_lon_relative()
def fd_matchup.check_lon_relative | ( | parser, | |
slon, | |||
elon | |||
) |
function to verify two lons relative to each other
Definition at line 443 of file fd_matchup.py.
◆ check_SBfile()
def fd_matchup.check_SBfile | ( | parser, | |
file_sb | |||
) |
function to verify SB file exists, is valid, and has correct fields; returns data structure
Definition at line 357 of file fd_matchup.py.
◆ check_SBfile_latlon()
def fd_matchup.check_SBfile_latlon | ( | parser, | |
ds | |||
) |
function to verify lat/lon exist in SB file's data structure
Definition at line 378 of file fd_matchup.py.
◆ check_time()
def fd_matchup.check_time | ( | parser, | |
tim | |||
) |
function to verify time
Definition at line 450 of file fd_matchup.py.
◆ check_time_relative()
def fd_matchup.check_time_relative | ( | parser, | |
tim_min, | |||
tim_max | |||
) |
function to verify two times relative to each other
Definition at line 468 of file fd_matchup.py.
◆ download_file()
def fd_matchup.download_file | ( | url, | |
out_dir | |||
) |
download_file downloads a file given URL and out_dir strings syntax fname_local = download_file(url, out_dir)
Definition at line 513 of file fd_matchup.py.
◆ main()
def fd_matchup.main | ( | ) |
Definition at line 13 of file fd_matchup.py.
◆ print_CMRreq()
def fd_matchup.print_CMRreq | ( | hits, | |
granlinks, | |||
plat_ls, | |||
args, | |||
dict_args, | |||
sbfile | |||
) |
" function to print the CMR results from a SB file
Definition at line 569 of file fd_matchup.py.
◆ process_CMRreq()
def fd_matchup.process_CMRreq | ( | content, | |
hits, | |||
granlinks | |||
) |
function to process the return from a single CMR JSON return
Definition at line 499 of file fd_matchup.py.
◆ processANDprint_CMRreq()
def fd_matchup.processANDprint_CMRreq | ( | content, | |
granlinks, | |||
plat_ls, | |||
args, | |||
dict_args, | |||
tim_min, | |||
tim_max | |||
) |
function to process AND print the return from a single CMR JSON return
Definition at line 595 of file fd_matchup.py.
◆ send_CMRreq()
def fd_matchup.send_CMRreq | ( | url | ) |
function to submit a given URL request to the CMR; return JSON output
Definition at line 477 of file fd_matchup.py.