OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
ProcUtils.py File Reference

Go to the source code of this file.

Namespaces

 seadasutils.ProcUtils
 

Functions

def getSession (verbose=0, ntries=5)
 
def isRequestAuthFailure (req)
 
def httpdl (server, request, localpath='.', outputfilename=None, ntries=5, uncompress=False, timeout=30., verbose=0, force_download=False, chunk_size=DEFAULT_CHUNK_SIZE)
 
def uncompressFile (compressed_file)
 
def get_file_time (localFile)
 
def cleanList (filename, parse=None)
 
def date_convert (datetime_i, in_datetype=None, out_datetype=None)
 
def addsecs (datetime_i, dsec, datetype=None)
 
def diffsecs (time0, time1, datetype=None)
 
def round_minutes (datetime_i, datetype=None, resolution=5, rounding=0)
 
def remove (file_to_delete)
 
def ctime (the_file)
 
def mtime (the_file)
 
def cat (file_to_print)
 
def compare_checksum (filepath, checksum)
 
def check_sensor (inp_file)
 

Variables

int DEFAULT_CHUNK_SIZE = 131072
 
int BLOCKSIZE = 65536
 
 obpgSession = None