-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a document for the variables used? #32
Comments
Same problem here. Does looking into the MODFLOW 6 Fortran code help? If so, what would be the strategy to find all |
For the time being, have you used the |
The easiest way to get all available API variables is to set the def run_simulation(dll, sim_path, callback, verbose=False, _develop=False):
"""
Method to run a Modflow simulation using the MODFLOW-API
with a callback function
Parameters
----------
dll : str
path to the Modflow6 shared object
sim_path : str
path to the Modflow6 simulation
callback : method
user defined method that intercepts the simulation
progress and allows for input variable adjustments on the fly
verbose : bool
flag for verbose output from the simulation runner
_develop : bool
flag that dumps a list of all mf6 api variable addresses to text
file named "var_list.txt". This is primarily used for extensions
development purposes and bug fixes within the modflowapi python
package.
""" Another option is to instantiate a mf6 = ModflowApi(dll, working_directory=sim_path)
mf6.initialize()
with open("var_list.txt", "w") as foo:
for name in mf6.get_input_var_names():
foo.write(f"{name}\n") |
I am aware already of the suggestion by @emorway-usgs, but the other one by @jlarsen-usgs is also helpful. Thanks to you both. Final thing: the meaning of the variables is not documented yet, right? |
Hi, I have some questions, please
1- To know the available variables, I had to use the .advanced_vars argument. However, I don't know the meaning of all variables. For example, for the UZF package, there is "gwpet", which I think is the groundwater potential evapotranspiration, right? Is there any document for the meaning of the variables?
2- Is there a page or so (something like FloPy) that explains how to use the MODFLOWAPI arguments? The only information I got so far is from the notebook examples
Thanks a lot in advance
The text was updated successfully, but these errors were encountered: