flopy.export.utils Module

flopy.export.utils.ensemble_helper(inputs_filename, outputs_filename, models, add_reals=True, **kwargs)

helper to export an ensemble of model instances. Assumes all models have same dis and sr, only difference is properties and boundary conditions. Assumes model.nam.split(‘_’)[-1] is the realization suffix to use in the netcdf variable names

flopy.export.utils.mflist_helper(f, mfl, **kwargs)

export helper for MfList instances

Parameters:

f : string (filename) or existing export instance type (NetCdf only for now)

mfl : MfList instance

flopy.export.utils.output_helper(f, ml, oudic, **kwargs)

export model outputs using the model spatial reference info. Parameters ———-

f : filename for output - must have .shp or .nc extension ml : BaseModel derived type oudic : dict {output_filename,flopy datafile/cellbudgetfile instance}
None
casts down double precision to single precision for netCDF files
flopy.export.utils.transient2d_helper(f, t2d, **kwargs)

export helper for Transient2d instances

Parameters:

f : string (filename) or existing export instance type (NetCdf only for now)

t2d : Transient2d instance min_valid : minimum valid value max_valid : maximum valid value

flopy.export.utils.util2d_helper(f, u2d, **kwargs)

export helper for Util2d instances

Parameters:

f : string (filename) or existing export instance type (NetCdf only for now)

u2d : Util2d instance min_valid : minimum valid value max_valid : maximum valid value

flopy.export.utils.util3d_helper(f, u3d, **kwargs)

export helper for Transient2d instances

Parameters:

f : string (filename) or existing export instance type (NetCdf only for now)

u3d : Util3d instance min_valid : minimum valid value max_valid : maximum valid value