feat: update datasets to version 5.0.2.0 #33
Annotations
2 errors and 1 warning
/home/runner/work/HadCRUT5/HadCRUT5/hadcrut5lib.py#L227
"""Return the dataset regions set by the user at command-line"""
return self._datasets.keys()
def _hadcrut5_data_url(self, filename):
site = "https://www.metoffice.gov.uk"
- path = "/hadobs/hadcrut5/data/HadCRUT.{}/analysis/diagnostics/".format(self._DATASET_VERSION)
+ path = "/hadobs/hadcrut5/data/HadCRUT.{}/analysis/diagnostics/".format(
+ self._DATASET_VERSION
+ )
url = "{}{}{}".format(site, path, filename)
return url
def _wget_dataset_file(self, filename):
"""Download a netCDFv4 HadCRUT5 file if not already found locally"""
|
/home/runner/work/HadCRUT5/HadCRUT5/hadcrut5lib.py#L227
"""Return the dataset regions set by the user at command-line"""
return self._datasets.keys()
def _hadcrut5_data_url(self, filename):
site = "https://www.metoffice.gov.uk"
- path = "/hadobs/hadcrut5/data/HadCRUT.{}/analysis/diagnostics/".format(self._DATASET_VERSION)
+ path = "/hadobs/hadcrut5/data/HadCRUT.{}/analysis/diagnostics/".format(
+ self._DATASET_VERSION
+ )
url = "{}{}{}".format(site, path, filename)
return url
def _wget_dataset_file(self, filename):
"""Download a netCDFv4 HadCRUT5 file if not already found locally"""
|
Run linters
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|