Skip to content

Commit 9a1e943

Browse files
authored
Some typos in datasets.py
Fix a couple of typos
1 parent 663cc24 commit 9a1e943

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pysteps/datasets.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -341,14 +341,14 @@ def create_default_pystepsrc(pysteps_data_dir, config_dir=None, file_name="pyste
341341
"""
342342
Create a default configuration file pointing to the pysteps data directory.
343343
344-
If the configuration file already exists, it backup the existing file by appending
345-
to the filename the extensions '.1', '.2', up to '.5.'.
344+
If the configuration file already exists, it will backup the existing file by
345+
appending the extensions '.1', '.2', up to '.5.' to the filename.
346346
A maximum of 5 files are kept. .2, up to app.log.5.
347347
348348
File rotation is implemented for the backup files.
349349
For example, if the default configuration filename is 'pystepsrc' and the files
350-
pystepsrc, pystepsrc.1, pystepsrc.2, etc. exist, they are renamed to pystepsrc.1,
351-
pystepsrc.2, pystepsrc.2, etc. respectively. Finally, after the existing files are
350+
pystepsrc, pystepsrc.1, pystepsrc.2, etc. exist, they are renamed to respetively
351+
pystepsrc.1, pystepsrc.2, pystepsrc.2, etc. Finally, after the existing files are
352352
backed up, the new configuration file is written.
353353
354354
Parameters
@@ -367,7 +367,7 @@ def create_default_pystepsrc(pysteps_data_dir, config_dir=None, file_name="pyste
367367
Configuration file name. `pystepsrc` by default.
368368
369369
dryrun : bool
370-
Do not create the parameters file nor create backups of existing files.
370+
Do not create the parameter file, nor create backups of existing files.
371371
No changes are made in the file system. It just returns the file path.
372372
373373
Returns

0 commit comments

Comments
 (0)