Skip to content

Commit 7517bab

Browse files
mjrenomjreno
authored andcommitted
some cleanup
1 parent 81d4cbd commit 7517bab

File tree

12 files changed

+23595
-154
lines changed

12 files changed

+23595
-154
lines changed

.docs/Notebooks/netcdf01_tutorial.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,10 @@ def create_sim(ws):
244244

245245
# ## Create helper function to update dataset
246246
#
247-
# This function updates an Xarray dataset to add variables described
247+
# This function updates an xarray dataset to add variables described
248248
# in a FloPy provided dictionary.
249249
#
250-
# A dimension map variable relates FloPy and NetCDF dimensions names.
250+
# The dimmap variable relates NetCDF dimension names to a value.
251251

252252

253253
# A subroutine that can update an xarray dataset with package
@@ -291,7 +291,7 @@ def _data_shape(shape):
291291

292292
# ## Create NetCDF based simulation
293293
#
294-
# Reset the simulation path and set the GWF name file `nc_filerecord`
294+
# Reset the simulation path and set the `GWF` name file `nc_filerecord`
295295
# attribute to the name of the intended input NetCDF file. Display
296296
# the resultant name file changes.
297297

@@ -309,7 +309,7 @@ def _data_shape(shape):
309309
# Create the base xarray dataset from the modelgrid object. This
310310
# will add required dimensions and coordinate variables to the
311311
# dataset according to the grid specification. Modeltime is needed
312-
# to for timeseries support.
312+
# for timeseries support.
313313

314314
# create the dataset
315315
ds = gwf.modelgrid.dataset(modeltime=gwf.modeltime)
@@ -378,8 +378,8 @@ def _data_shape(shape):
378378
#
379379
# MODFLOW 6 input data for the package is now in the dataset. Once the NetCDF
380380
# file is generated, we need to configure MODFLOW 6 so that it looks to that
381-
# file for the package array input. The ASCII will no longer defined the arrays-
382-
# instead the array names will be followed by the NETCDF keyword.
381+
# file for the package array input. The ASCII file will no longer defined the
382+
# arrays- instead the array names will be followed by the NETCDF keyword.
383383
#
384384
# We will simply overwrite the entire MODFLOW 6 `DIS` package input file with the
385385
# following code block.
@@ -435,7 +435,7 @@ def _data_shape(shape):
435435
#
436436
# Follow the same process as above for the `GHBG` package. The difference is
437437
# that this is PERIOD input and therefore stored as timeseries data in the
438-
# NetCDF file. As NETCDF timeseries and defined in terms of total number of
438+
# NetCDF file. As NETCDF timeseries are defined in terms of total number of
439439
# simulation steps, care must be taken in the translation of FloPy period
440440
# data to the timeseries.
441441

.docs/Notebooks/netcdf02_tutorial.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
# NetCDF input parameters.
6767
#
6868
# A NetCDF dataset will be created from array data in the `IC`, and
69-
# 'GHBG' packages. Data will be copied from the package objects into
69+
# `GHBG` packages. Data will be copied from the package objects into
7070
# dataset arrays.
7171

7272

@@ -278,10 +278,10 @@ def create_sim(ws):
278278

279279
# ## Create helper function to update dataset
280280
#
281-
# This function updates an Xarray dataset to add variables described
281+
# This function updates an xarray dataset to add variables described
282282
# in a FloPy provided dictionary.
283283
#
284-
# A dimension map variable relates FloPy and NetCDF dimensions names.
284+
# The dimmap variable relates NetCDF dimension names to a value.
285285

286286

287287
# A subroutine that can update an xarray dataset with package
@@ -329,7 +329,7 @@ def _data_shape(shape):
329329

330330
# ## Create NetCDF based simulation
331331
#
332-
# Reset the simulation path and set the GWF name file `nc_filerecord`
332+
# Reset the simulation path and set the `GWF` name file `nc_filerecord`
333333
# attribute to the name of the intended input NetCDF file. Display
334334
# the resultant name file changes.
335335

@@ -347,7 +347,7 @@ def _data_shape(shape):
347347
# Create the base xarray dataset from the modelgrid object. This
348348
# will add required dimensions and coordinate variables to the
349349
# dataset according to the grid specification. Modeltime is needed
350-
# to for timeseries support.
350+
# for timeseries support.
351351

352352
# create the dataset
353353
ds = gwf.modelgrid.dataset(modeltime=gwf.modeltime, mesh="layered")
@@ -412,8 +412,8 @@ def _data_shape(shape):
412412
#
413413
# MODFLOW 6 input data for the package is now in the dataset. Once the NetCDF
414414
# file is generated, we need to configure MODFLOW 6 so that it looks to that
415-
# file for the package array input. The ASCII will no longer defined the arrays-
416-
# instead the array names will be followed by the NETCDF keyword.
415+
# file for the package array input. The ASCII file will no longer defined the
416+
# arrays- instead the array names will be followed by the NETCDF keyword.
417417
#
418418
# We will simply overwrite the entire MODFLOW 6 `IC` package input file with the
419419
# following code block.
@@ -432,7 +432,7 @@ def _data_shape(shape):
432432
#
433433
# Follow the same process as above for the `GHBG` package. The difference is
434434
# that this is PERIOD input and therefore stored as timeseries data in the
435-
# NetCDF file. As NETCDF timeseries and defined in terms of total number of
435+
# NetCDF file. As NETCDF timeseries are defined in terms of total number of
436436
# simulation steps, care must be taken in the translation of FloPy period
437437
# data to the timeseries.
438438

0 commit comments

Comments
 (0)