welltestpy.data.data_io¶
welltestpy subpackage providing input-output routines.
The following functions are provided
-
load_campaign
(cmpfile)[source]¶ Load a campaign from file.
This reads a campaign from a csv file.
- Parameters
cmpfile (
str
) – Path to the file
-
load_fieldsite
(fdsfile)[source]¶ Load a field site from file.
This reads a field site from a csv file.
- Parameters
fdsfile (
str
) – Path to the file
-
load_obs
(obsfile)[source]¶ Load an observation from file.
This reads a observation from a csv file.
- Parameters
obsfile (
str
) – Path to the file
-
load_test
(tstfile)[source]¶ Load a test from file.
This reads a test from a csv file.
- Parameters
tstfile (
str
) – Path to the file
-
load_var
(varfile)[source]¶ Load a variable from file.
This reads a variable from a csv file.
- Parameters
varfile (
str
) – Path to the file
-
load_well
(welfile)[source]¶ Load a well from file.
This reads a well from a csv file.
- Parameters
welfile (
str
) – Path to the file
-
save_campaign
(campaign, path='', name=None)[source]¶ Save the campaign to file.
This writes the campaign to a csv file.
- Parameters
Notes
The file will get the suffix
".cmp"
.
-
save_fieldsite
(fieldsite, path='', name=None)[source]¶ Save a field site to file.
This writes the field site to a csv file.
- Parameters
Notes
The file will get the suffix
".fds"
.
-
save_obs
(obs, path='', name=None)[source]¶ Save an observation to file.
This writes the observation to a csv file.
- Parameters
Notes
The file will get the suffix
".obs"
.
-
save_pumping_test
(pump_test, path='', name=None)[source]¶ Save a pumping test to file.
This writes the variable to a csv file.
- Parameters
Notes
The file will get the suffix
".tst"
.
-
save_var
(var, path='', name=None)[source]¶ Save a variable to file.
This writes the variable to a csv file.
- Parameters
Notes
The file will get the suffix
".var"
.