You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.html
+70-14Lines changed: 70 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -297,27 +297,83 @@ <h2 id="variables-in-a-netcdf-file">Variables in a netCDF file</h2>
297
297
unlike numpy arrays, netCDF4 variables can be appended to along one or
298
298
more 'unlimited' dimensions. To create a netCDF variable, use the
299
299
<code><atitle="netCDF4.Dataset.createVariable" href="#netCDF4.Dataset.createVariable">Dataset.createVariable()</a></code> method of a <code><atitle="netCDF4.Dataset" href="#netCDF4.Dataset">Dataset</a></code> or
300
-
<code><atitle="netCDF4.Group" href="#netCDF4.Group">Group</a></code> instance. The <code><atitle="netCDF4.Dataset.createVariable" href="#netCDF4.Dataset.createVariable">Dataset.createVariable()</a></code>j method
300
+
<code><atitle="netCDF4.Group" href="#netCDF4.Group">Group</a></code> instance. The <code><atitle="netCDF4.Dataset.createVariable" href="#netCDF4.Dataset.createVariable">Dataset.createVariable()</a></code> method
301
301
has two mandatory arguments, the variable name (a Python string), and
302
302
the variable datatype. The variable's dimensions are given by a tuple
303
303
containing the dimension names (defined previously with
304
304
<code><atitle="netCDF4.Dataset.createDimension" href="#netCDF4.Dataset.createDimension">Dataset.createDimension()</a></code>). To create a scalar
305
305
variable, simply leave out the dimensions keyword. The variable
306
306
primitive datatypes correspond to the dtype attribute of a numpy array.
307
307
You can specify the datatype as a numpy dtype object, or anything that
0 commit comments