OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
dtdb_oci Namespace Reference

Functions

def init_dir (inpath)
 
def hour2min (hour, min)
 
def min2hour (tot_min)
 
def date2day (year, month, day)
 
def day2date (year, day_of_year)
 
def getDtFilename (l1b_name)
 
def getDbFilename (l1b_name)
 
def main ()
 

Variables

 LOG = logging.getLogger('dtdb_oci')
 
string str_url = "https://oceandata.sci.gsfc.nasa.gov/ob/getfile/"
 
string str_wget = "wget --load-cookies ~/.urs_cookies --save-cookies ~/.urs_cookies --auth-no-challenge=on --content-disposition "
 
string str_wdir = "-P "
 

Detailed Description

* NAME: dtdb_oci.py
*
* DESCRIPTION: Executable program to automate download of L1A files in specified date-time range.

* USAGE: dtdb_oci.py -b [start date-time] -e [end date-time] -o [output directory] 

* Created on August, 2021

* Author: Samuel Anderson

Function Documentation

◆ date2day()

def dtdb_oci.date2day (   year,
  month,
  day 
)

Definition at line 50 of file dtdb_oci.py.

◆ day2date()

def dtdb_oci.day2date (   year,
  day_of_year 
)

Definition at line 54 of file dtdb_oci.py.

◆ getDbFilename()

def dtdb_oci.getDbFilename (   l1b_name)

Definition at line 63 of file dtdb_oci.py.

◆ getDtFilename()

def dtdb_oci.getDtFilename (   l1b_name)

Definition at line 59 of file dtdb_oci.py.

◆ hour2min()

def dtdb_oci.hour2min (   hour,
  min 
)

Definition at line 39 of file dtdb_oci.py.

◆ init_dir()

def dtdb_oci.init_dir (   inpath)

Definition at line 26 of file dtdb_oci.py.

◆ main()

def dtdb_oci.main ( )

Main Function #.

Definition at line 71 of file dtdb_oci.py.

◆ min2hour()

def dtdb_oci.min2hour (   tot_min)

Definition at line 43 of file dtdb_oci.py.

Variable Documentation

◆ LOG

LOG = logging.getLogger('dtdb_oci')

Definition at line 19 of file dtdb_oci.py.

◆ str_url

string str_url = "https://oceandata.sci.gsfc.nasa.gov/ob/getfile/"

Definition at line 22 of file dtdb_oci.py.

◆ str_wdir

string str_wdir = "-P "

Definition at line 24 of file dtdb_oci.py.

◆ str_wget

string str_wget = "wget --load-cookies ~/.urs_cookies --save-cookies ~/.urs_cookies --auth-no-challenge=on --content-disposition "

Definition at line 23 of file dtdb_oci.py.