A TAPIS application for running MODFLOW-2005 groundwater flow simulations with flexible input file support.
Data available from BARTON SPRINGS (2001 and 2010) link
- BAS6 (
input.ba6) - Basic Package Input for the Groundwater Flow Process - DIS (
input.dis) - Discretization file - OC (
input.oc) - Output control file
- LPF (
input.lpf) - Layer Property Flow package file - BCF6 (
input.bc6) - Block Centered Flow package file
- ZONE (
input.zone) - Zone budget file - WEL (
input.wel) - Well package file - DRN (
input.drn) - Drain package file - RIV (
input.riv) - River package file - EVT (
input.evt) - Evapotranspiration package file - GHB (
input.ghb) - General Head Boundary package file - RCH (
input.rch) - Recharge package file - HFB6 (
input.hf6) - Horizontal Flow Barrier package file
- PCG (
input.pcg) - Preconditioned Conjugate Gradient package file - SIP (
input.sip) - Strongly Implicit Procedure package file
The application generates the following output files:
- LST - List file with model output and diagnostics
- CBB - Cell-by-cell flow file (binary)
- HDS - Head file (binary)
- DDN - Drawdown file (binary)
The script upstream_ckan_sync.py can register campaign-station datasets and sensor resources in CKAN.
Required environment variables:
UPSTREAM_BASE_URL
UPSTREAM_JWT
CKAN_URL
CKAN_JWT
Optional overrides:
CKAN_OWNER_ORG
CKAN_GROUPS # Comma-separated group names
UPSTREAM_CAMPAIGNS_ENDPOINT # Default: /campaigns
UPSTREAM_STATIONS_ENDPOINT # Default: /campaigns/{campaign_id}/stations
UPSTREAM_SENSORS_ENDPOINT # Default: /campaigns/{campaign_id}/stations/{station_id}/sensors
UPSTREAM_SENSOR_RESOURCE_URL_TEMPLATE # Default: {base_url}/campaigns/{campaign_id}/stations/{station_id}/sensors/{sensor_id}/timeseries
CKAN_SENSOR_RESOURCE_FORMAT # Default: JSON
Example dry run:
python upstream_ckan_sync.py --dry-run --verbose- Upload your MODFLOW input files with the appropriate naming convention (e.g.,
input.ba6,input.dis, etc.) - Submit the job through TAPIS
- The application will automatically detect which files are present and generate the appropriate NAM (name file)
- MODFLOW-2005 will run with the provided configuration
- Output files will be available in the job output directory
- Only the basic required files (BAS6, DIS, OC) are mandatory
- All other files are optional and will be included in the simulation only if provided
- For flow packages, provide either LPF or BCF6, not both
- For solver packages, provide either PCG or SIP; if neither is provided, MODFLOW will use its default solver