AMBHAS
ambhas.richards.RICHARDS_1D Class Reference
Inheritance diagram for ambhas.richards.RICHARDS_1D:

List of all members.

Public Member Functions

def __init__
def smcf
def theta2psi
def psi2theta
def theta2kr
def initialize

Public Attributes

 input_file
 t
 run the model ########################
 ind
 no_layer
 dz
 dt_flux
 final_time
 forcing_units
 theta
 soil_par
 year
 doy
 rain
 pet
 ofile_name
 rain_cur
 pet_cur
 cur_year
 cur_doy
 max_t
 iter_dt
 nc_year
 nc_doy
 nc_sm
 nc_aet
 nc_recharge
 nc_file

Detailed Description

This is the main class of the RICHARDS_1D.
This simulates the flow in unsaturated porus media

This will read the input data,
do the processing
and then write the output files

Definition at line 20 of file richards.py.


Constructor & Destructor Documentation

def ambhas.richards.RICHARDS_1D.__init__ (   self,
  input_file 
)
Input:
    input_file: the file which contains all the information
    including forcing and parameters.

Reimplemented in ambhas.richards.RICHARDS_1D_GLUE, and ambhas.richards.RICHARDS_1D_ENKF.

Definition at line 31 of file richards.py.


Member Function Documentation

this initializes all the required variables
and open the netcdf file for writting

Reimplemented in ambhas.richards.RICHARDS_1D_GLUE, and ambhas.richards.RICHARDS_1D_ENKF.

Definition at line 347 of file richards.py.

def ambhas.richards.RICHARDS_1D.psi2theta (   self,
  psi,
  thetar,
  thetas,
  alpha,
  m,
  n 
)
psi2theta: given the theta calculate the pressure head

Definition at line 322 of file richards.py.

def ambhas.richards.RICHARDS_1D.smcf (   self,
  theta,
  thetar,
  thetas,
  alpha,
  m,
  n 
)
smcf: calculate the smc

Definition at line 298 of file richards.py.

def ambhas.richards.RICHARDS_1D.theta2kr (   self,
  theta,
  thetar,
  thetas,
  m,
  l,
  Ks 
)
theta2kr: given the theta, calculate the kr 

Definition at line 334 of file richards.py.

def ambhas.richards.RICHARDS_1D.theta2psi (   self,
  theta,
  thetar,
  thetas,
  m,
  n,
  alpha 
)
theta2psi: given the theta calculate the psi

Definition at line 311 of file richards.py.


Member Data Documentation

Definition at line 209 of file richards.py.

Definition at line 133 of file richards.py.

Definition at line 120 of file richards.py.

Definition at line 209 of file richards.py.

Definition at line 209 of file richards.py.

run the model ########################

Reimplemented in ambhas.richards.RICHARDS_1D_GLUE, and ambhas.richards.RICHARDS_1D_ENKF.

Definition at line 36 of file richards.py.

Definition at line 209 of file richards.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables