mooflow.classes.Area_gw¶
-
class
mooflow.classes.
Area_gw
(idx, area_list, area_list_y=None, correct_zero=None)¶ -
__init__
(idx, area_list, area_list_y=None, correct_zero=None)¶ Class for a ground water level sensitive area.
- Parameters
- idxstr
the identification of the area
- area_listlist
a list of int respresenting the column ids or a list of lists with [column and row ids]
- area_list_ylist
needed if area_list is list with column ids
- correct_zeroint
add x correct_zero to the column and row ids
Methods
__init__
(idx, area_list[, area_list_y, …])Class for a ground water level sensitive area.
apply_area_function1
(x)Apply the function that is assigned to the __ares_function.
area_np_array
()returns the x and y coordinates of the area as a numpy array
get_level
(time_curr[, year])Return the desired ground water level (head) for the current day of year.
get_levels
()set_area_function1
(fargs, *args, **kwargs)Set a function that evaluated the numpy array that is read from the head file.
set_pattern
(times, rates)Set the pattern of required extraction rates and actual demands
Attributes
area
fitness_group
sector
type
weights
z
-