From a6e7fbb4f416bd8345adf642847242b73a5b2b12 Mon Sep 17 00:00:00 2001 From: lumbric Date: Thu, 21 Nov 2024 15:19:33 +0100 Subject: [PATCH] docs: minor fixes in the docstrings for Cutout (#410) --- atlite/cutout.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/atlite/cutout.py b/atlite/cutout.py index 6b53f7f1..db792b75 100644 --- a/atlite/cutout.py +++ b/atlite/cutout.py @@ -112,8 +112,8 @@ def __init__(self, path, **cutoutparams): Frequency of the time coordinate. The default is 'h'. Valid are all pandas offset aliases. chunks : dict - Chunks when opening netcdf files. For cutout preparation recommand - to chunk only along the time dimension. Defaults to {'time': 20} + Chunks when opening NetCDF files. For cutout preparation it is recommended + to chunk only along the time dimension. Defaults to {'time': 100} data : xr.Dataset User provided cutout data. Save the cutout using `Cutout.to_file()` afterwards. @@ -131,7 +131,7 @@ def __init__(self, path, **cutoutparams): sarah data which has missing data for areas where dawn and nightfall happens (ca. 30 min gap). gebco_path: str - Path to find the gebco netcdf file. Only necessary when including + Path to find the gebco NetCDF file. Only necessary when including the gebco module. parallel : bool, default False Whether to open dataset in parallel mode. Take effect for all @@ -440,7 +440,7 @@ def merge(self, other, path=None, **kwargs): def to_file(self, fn=None): """ - Save cutout to a netcdf file. + Save cutout to a NetCDF file. Parameters ----------