Skip to content

Commit

Permalink
Update Test in README.rst to reflect API changes
Browse files Browse the repository at this point in the history
Including the target as the third argument in the cds.retrieve() method does not work with 0.7.2, returning the error:

AttributeError: 'str' object has no attribute 'download'

The included changes fix this issue, pointing the user to the appropriate syntax.
  • Loading branch information
naidoo88 authored Sep 4, 2024
1 parent 8e92895 commit 617619c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Perform a small test retrieve of ERA5 data::
"date": "2017-12-01/2017-12-31",
"time": "12:00",
"format": "grib"
}, 'download.grib')
}).download(target='download.grib')
>>>


Expand Down

0 comments on commit 617619c

Please sign in to comment.