Skip to content

Commit

Permalink
Fix various spelling errors.
Browse files Browse the repository at this point in the history
 * analagous -> analogous
 * Overwite  -> Overwrite
  • Loading branch information
sebastic committed Mar 11, 2016
1 parent 7d49307 commit 89b83eb
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
12 changes: 6 additions & 6 deletions docs/netCDF4/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,7 @@ <h2><div id='section1'>1) Creating/Opening/Closing a netCDF file.</h2>
version 4.0.1).</p>
<h2><div id='section2'>2) Groups in a netCDF file.</h2>
<p>netCDF version 4 added support for organizing data in hierarchical
groups, which are analagous to directories in a filesystem. Groups serve
groups, which are analogous to directories in a filesystem. Groups serve
as containers for variables, dimensions and attributes, as well as other
groups. A <a href="#netCDF4.Dataset"><code>Dataset</code></a> defines creates a special group, called
the 'root group', which is similar to the root directory in a unix
Expand Down Expand Up @@ -2770,7 +2770,7 @@ <h3>Static methods</h3>
<div class="desc"><p>Creates a new <a href="#netCDF4.Group"><code>Group</code></a> with the given <code>groupname</code>.</p>
<p>If <code>groupname</code> is specified as a path, using forward slashes as in unix to
separate components, then intermediate groups will be created as necessary
(analagous to <code>mkdir -p</code> in unix). For example,
(analogous to <code>mkdir -p</code> in unix). For example,
<code>createGroup('/GroupA/GroupB/GroupC')</code> will create <code>GroupA</code>,
<code>GroupA/GroupB</code>, and <code>GroupA/GroupB/GroupC</code>, if they don't already exist.
If the specified path describes a group that already exists, no error is
Expand Down Expand Up @@ -3448,7 +3448,7 @@ <h3>Static methods</h3>


<div class="desc"><p>Groups define a hierarchical namespace within a netCDF file. They are
analagous to directories in a unix filesystem. Each <a href="#netCDF4.Group"><code>Group</code></a> behaves like
analogous to directories in a unix filesystem. Each <a href="#netCDF4.Group"><code>Group</code></a> behaves like
a <a href="#netCDF4.Dataset"><code>Dataset</code></a> within a Dataset, and can contain it's own variables,
dimensions and attributes (and other Groups). See <a href="#netCDF4.Group.__init__"><code>__init__</code></a>
for more details.</p>
Expand Down Expand Up @@ -3821,7 +3821,7 @@ <h3>Static methods</h3>
<div class="desc inherited"><p>Creates a new <a href="#netCDF4.Group"><code>Group</code></a> with the given <code>groupname</code>.</p>
<p>If <code>groupname</code> is specified as a path, using forward slashes as in unix to
separate components, then intermediate groups will be created as necessary
(analagous to <code>mkdir -p</code> in unix). For example,
(analogous to <code>mkdir -p</code> in unix). For example,
<code>createGroup('/GroupA/GroupB/GroupC')</code> will create <code>GroupA</code>,
<code>GroupA/GroupB</code>, and <code>GroupA/GroupB/GroupC</code>, if they don't already exist.
If the specified path describes a group that already exists, no error is
Expand Down Expand Up @@ -4727,7 +4727,7 @@ <h3>Static methods</h3>
<div class="desc inherited"><p>Creates a new <a href="#netCDF4.Group"><code>Group</code></a> with the given <code>groupname</code>.</p>
<p>If <code>groupname</code> is specified as a path, using forward slashes as in unix to
separate components, then intermediate groups will be created as necessary
(analagous to <code>mkdir -p</code> in unix). For example,
(analogous to <code>mkdir -p</code> in unix). For example,
<code>createGroup('/GroupA/GroupB/GroupC')</code> will create <code>GroupA</code>,
<code>GroupA/GroupB</code>, and <code>GroupA/GroupB/GroupC</code>, if they don't already exist.
If the specified path describes a group that already exists, no error is
Expand Down Expand Up @@ -5541,7 +5541,7 @@ <h3>Static methods</h3>


<div class="desc"><p>A netCDF <a href="#netCDF4.Variable"><code>Variable</code></a> is used to read and write netCDF data. They are
analagous to numpy array objects. See <a href="#netCDF4.Variable.__init__"><code>__init__</code></a> for more
analogous to numpy array objects. See <a href="#netCDF4.Variable.__init__"><code>__init__</code></a> for more
details.</p>
<p>A list of attribute names corresponding to netCDF attributes defined for
the variable can be obtained with the <a href="#netCDF4.Variable.ncattrs"><code>ncattrs</code></a> method. These
Expand Down
2 changes: 1 addition & 1 deletion examples/writing_netCDF.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@
"\n",
"netCDF version 4 added support for organizing data in hierarchical groups.\n",
"\n",
"- analagous to directories in a filesystem. \n",
"- analogous to directories in a filesystem. \n",
"- Groups serve as containers for variables, dimensions and attributes, as well as other groups. \n",
"- A `netCDF4.Dataset` creates a special group, called the 'root group', which is similar to the root directory in a unix filesystem. \n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion man/nc3tonc4.1
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ A summary of options is included below.
Shows a summary of the available options.
.TP
.B \-o
Overwite destination file (default is to raise an error if output file already exists).
Overwrite destination file (default is to raise an error if output file already exists).
.TP
.B \-\-vars
A comma separated list of variable names to copy (default is to copy all variables).
Expand Down
2 changes: 1 addition & 1 deletion man/nc4tonc3.1
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ A summary of options is included below.
Shows a summary of the available options.
.TP
.B \-o
Overwite destination file (default is to raise an error if output file already exists).
Overwrite destination file (default is to raise an error if output file already exists).
.TP
.B \-\-quiet=(0|1)
If set to 1, don't print any diagnostic information.
Expand Down
8 changes: 4 additions & 4 deletions netCDF4/_netCDF4.c

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions netCDF4/_netCDF4.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ version 4.0.1).
## <div id='section2'>2) Groups in a netCDF file.
netCDF version 4 added support for organizing data in hierarchical
groups, which are analagous to directories in a filesystem. Groups serve
groups, which are analogous to directories in a filesystem. Groups serve
as containers for variables, dimensions and attributes, as well as other
groups. A `netCDF4.Dataset` defines creates a special group, called
the 'root group', which is similar to the root directory in a unix
Expand Down Expand Up @@ -2246,7 +2246,7 @@ Creates a new `netCDF4.Group` with the given `groupname`.
If `groupname` is specified as a path, using forward slashes as in unix to
separate components, then intermediate groups will be created as necessary
(analagous to `mkdir -p` in unix). For example,
(analogous to `mkdir -p` in unix). For example,
`createGroup('/GroupA/GroupB/GroupC')` will create `GroupA`,
`GroupA/GroupB`, and `GroupA/GroupB/GroupC`, if they don't already exist.
If the specified path describes a group that already exists, no error is
Expand Down Expand Up @@ -2540,7 +2540,7 @@ attribute does not exist on the variable. For example,
cdef class Group(Dataset):
"""
Groups define a hierarchical namespace within a netCDF file. They are
analagous to directories in a unix filesystem. Each `netCDF4.Group` behaves like
analogous to directories in a unix filesystem. Each `netCDF4.Group` behaves like
a `netCDF4.Dataset` within a Dataset, and can contain it's own variables,
dimensions and attributes (and other Groups). See `netCDF4.Group.__init__`
for more details.
Expand Down Expand Up @@ -2796,7 +2796,7 @@ returns `True` if the `netCDF4.Dimension` instance is unlimited, `False` otherwi
cdef class Variable:
"""
A netCDF `netCDF4.Variable` is used to read and write netCDF data. They are
analagous to numpy array objects. See `netCDF4.Variable.__init__` for more
analogous to numpy array objects. See `netCDF4.Variable.__init__` for more
details.
A list of attribute names corresponding to netCDF attributes defined for
Expand Down
4 changes: 2 additions & 2 deletions netCDF4/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ def nc4tonc3():
usage: %s [-h] [-o] [--chunk] netcdf4filename netcdf3filename
-h -- Print usage message.
-o -- Overwite destination file (default is to raise an error if output file already exists).
-o -- Overwrite destination file (default is to raise an error if output file already exists).
--quiet=(0|1) -- if 1, don't print diagnostic information.
--format -- netcdf3 format to use (NETCDF3_64BIT by default, can be set to NETCDF3_CLASSIC)
--chunk=(integer) -- number of records along unlimited dimension to
Expand Down Expand Up @@ -775,7 +775,7 @@ def nc3tonc4():
usage: %s [-h] [-o] [--vars=var1,var2,..] [--zlib=(0|1)] [--complevel=(1-9)] [--shuffle=(0|1)] [--fletcher32=(0|1)] [--unpackshort=(0|1)] [--quantize=var1=n1,var2=n2,..] netcdf3filename netcdf4filename
-h -- Print usage message.
-o -- Overwite destination file (default is to raise an error if output file already exists).
-o -- Overwrite destination file (default is to raise an error if output file already exists).
--vars -- comma separated list of variable names to copy (default is to copy
all variables)
--classic=(0|1) -- use NETCDF4_CLASSIC format instead of NETCDF4 (default 1)
Expand Down

0 comments on commit 89b83eb

Please sign in to comment.