Skip to content

Commit 1ab7569

Browse files
DocOtakdcherian
authored andcommitted
reduce the size of example dataset in dask docs (#3187)
1 parent 55593a8 commit 1ab7569

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/dask.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ argument to :py:func:`~xarray.open_dataset` or using the
5858
np.set_printoptions(precision=3, linewidth=100, threshold=100, edgeitems=3)
5959
6060
ds = xr.Dataset({'temperature': (('time', 'latitude', 'longitude'),
61-
np.random.randn(365, 180, 360)),
62-
'time': pd.date_range('2015-01-01', periods=365),
63-
'longitude': np.arange(360),
61+
np.random.randn(30, 180, 180)),
62+
'time': pd.date_range('2015-01-01', periods=30),
63+
'longitude': np.arange(180),
6464
'latitude': np.arange(89.5, -90.5, -1)})
6565
ds.to_netcdf('example-data.nc')
6666

0 commit comments

Comments
 (0)