OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
python.test.test_tmatrix Namespace Reference

Classes

class  TMatrixTests
 

Functions

def printUsage ()
 
def getDaysInMonth (year, month)
 
def getDateString (year, month, day)
 
def getExtensibleAtom (dataset_dtype)
 
def run_tests ()
 

Variables

int epsilon = 1e-7
 

Detailed Description

Sam Anderson
October 2017

Function Documentation

◆ getDateString()

def python.test.test_tmatrix.getDateString (   year,
  month,
  day 
)

Definition at line 28 of file test_tmatrix.py.

◆ getDaysInMonth()

def python.test.test_tmatrix.getDaysInMonth (   year,
  month 
)

Definition at line 20 of file test_tmatrix.py.

◆ getExtensibleAtom()

def python.test.test_tmatrix.getExtensibleAtom (   dataset_dtype)

Definition at line 43 of file test_tmatrix.py.

◆ printUsage()

def python.test.test_tmatrix.printUsage ( )

Definition at line 15 of file test_tmatrix.py.

◆ run_tests()

def python.test.test_tmatrix.run_tests ( )
Tests for the T-matrix code.

   Runs several tests that test the code. All tests should return ok.
   If they don't, please contact the author.

Definition at line 66 of file test_tmatrix.py.

Variable Documentation

◆ epsilon

int epsilon = 1e-7

Definition at line 12 of file test_tmatrix.py.