iwfm.plotΒΆ

Classes, methods and functions for plotting IWFM parameters, results, etc.

Modules

contour_levels(Z[, no_levels, verbose])

Define the contour levels for a contour map.

data_to_color(value, min_value, max_value[, ...])

Map a data value to a corresponding RGB color.

draw_plot(well_name, date, meas, no_hyds, ...)

Create a PDF file with a graph of the simulated data vs time for all hydrographs as lines, with observed values vs time as dots, saved as the well_name.pdf.

flip_y(dataset)

Multiply y values by -1 to flip image.

get_XYvalues(dataset)

Create a colored image map representing groundwater data.

get_maxs(dataset)

Find the maximum values of each parameter in a list of lists.

get_mins(dataset)

Find the minimum values of each parameter in a list of lists.

gw_hyd_annual

Reduce daily or monthlyIWFM groundwater hydrograph to annual.

gw_hyd_monthly

Reduce daily IWFM groundwater hydrograph to monthly.

head_hydrographs

Create hydrograph plots comparing simulated vs observed heads.

histogram(data, name, unit, file[, method])

Create a histogram of given data and determine the number of bins.

iwfm_map_params

Create a contour map representing nodal values such as groundwater data.

map

Create a colored image map representing groundwater data.

map_params_gw(param_type, param_values, ...)

Create PNG images of groundwater parameters from an IWFM simulation.

map_params_rz(node_file_name, ...[, format, ...])

Read a shapefile of IWFM model elements and map IWFM Rootzone parameters to the elements.

map_params_rz_npc(node_file_name, ...[, ...])

Create a colored image map representing non-ponded-crop rootzone parameters.

map_params_rz_nr(node_file_name, ...[, ...])

Create a colored image map representing native and riparian rootzone parameters.

map_params_rz_pc(node_file_name, ...[, ...])

Create a colored image map representing ponded-crop rootzone parameters.

map_params_rz_urban(node_file_name, ...[, ...])

Create a colored image map representing urban data.

map_to_nodes(dataset, bounding_poly, image_name)

Create a colored image map representing nodal values such as groundwater data.

map_to_nodes_contour(dataset, bounding_poly, ...)

Create a contour map representing nodal values such as groundwater data.

map_to_nodes_png(dataset, image_name[, ...])

Create a colored image map representing nodal values such as groundwater data.

overlay_histograms(data1, data2, file_name)

Overlay two histograms to visualize the distribution of two datasets.

save_tif

Create a colored image map representing groundwater data.