diff --git a/cfr/psm.py b/cfr/psm.py index b6384df..e095030 100644 --- a/cfr/psm.py +++ b/cfr/psm.py @@ -1,4 +1,3 @@ -from turtle import color import numpy as np import pandas as pd from datetime import datetime @@ -1143,4 +1142,4 @@ def forward(self, **vsl_kwargs): time_unit=self.pobj.time_unit, ) - return pp + return pp \ No newline at end of file diff --git a/cfr/utils.py b/cfr/utils.py index 9922e69..1d775a9 100644 --- a/cfr/utils.py +++ b/cfr/utils.py @@ -634,8 +634,8 @@ def replace_str(fpath, d): f.write(text) -def download(url: str, fname: str, chunk_size=1024, show_bar=True): - resp = requests.get(url, stream=True) +def download(url: str, fname: str, chunk_size=1024, show_bar=True, verify=False): + resp = requests.get(url, stream=True, verify=verify) total = int(resp.headers.get('content-length', 0)) if show_bar: with open(fname, 'wb') as file, tqdm( diff --git a/setup.py b/setup.py index ea89178..44bab26 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='cfr', # required - version='2024.1.26', + version='2024.4.3', description='cfr: a Python package for Climate Field Reconstruction', long_description=long_description, long_description_content_type='text/x-rst',