From e773253cae8ea70a8f583d3dca67b42af4a3a80a Mon Sep 17 00:00:00 2001 From: Julien Emile-Geay Date: Tue, 4 Jun 2024 12:37:12 -0700 Subject: [PATCH] tick version (#571) * tick version * add requests to setup.py * verbose doc fix --------- Co-authored-by: Alexander James --- CITATION.cff | 10 +++++++--- pyleoclim/core/ensmultivardecomp.py | 8 ++++---- setup.py | 7 ++++--- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index f1f7f96d..03991772 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,4 +1,4 @@ -cff-version: 0.14.0 +cff-version: 1.0.0 message: "If you use this software, please cite it as below." authors: - family-names: "Khider" @@ -23,8 +23,12 @@ authors: - family-names: "McGibbon" given-names: "Robert" orcid: "https://orcid.org/0000-0003-3337-954X" + - family-names: "Voirol" + given-names: "Lionel" + orcid: "https://orcid.org/0000-0003-1696-1407" + title: "Pyleoclim: A Python package for the analysis and visualization of paleoclimate data" -version: v0.14.0 +version: v1.0.0 doi: 10.5281/zenodo.1205661 -date-released: 2024-02-15 +date-released: 2024-06-04 url: "https://github.com/LinkedEarth/Pyleoclim_util" diff --git a/pyleoclim/core/ensmultivardecomp.py b/pyleoclim/core/ensmultivardecomp.py index b34e69f0..f1b8151a 100644 --- a/pyleoclim/core/ensmultivardecomp.py +++ b/pyleoclim/core/ensmultivardecomp.py @@ -135,11 +135,11 @@ def modeplot(self,index=0,flip=False,plot_envelope_kwargs = None, psd_envelope_k soi = pyleo.utils.load_dataset('SOI') soi_time_axes = [pyleo.utils.random_time_axis(n=len(soi.time)) for _ in range(n)] - soi_ens = pyleo.EnsembleGeoSeries([pyleo.GeoSeries(time=time, value=soi.value,lat=-5,lon=-85,auto_time_params=True) for time in soi_time_axes]) + soi_ens = pyleo.EnsembleGeoSeries([pyleo.GeoSeries(time=time, value=soi.value,lat=-5,lon=-85,auto_time_params=True,verbose=False) for time in soi_time_axes]) nino3 = pyleo.utils.load_dataset('NINO3') nino3_time_axes = [pyleo.utils.random_time_axis(n=len(nino3.time)) for _ in range(n)] - nino3_ens = pyleo.EnsembleGeoSeries([pyleo.GeoSeries(time=time, value=nino3.value,lat=-5,lon=-85,auto_time_params=True) for time in nino3_time_axes]) + nino3_ens = pyleo.EnsembleGeoSeries([pyleo.GeoSeries(time=time, value=nino3.value,lat=-5,lon=-85,auto_time_params=True,verbose=False) for time in nino3_time_axes]) mul_ens = pyleo.MulEnsGeoSeries([nino3_ens,soi_ens]) mcpca = mul_ens.mcpca(nsim=10,seed=42) @@ -322,11 +322,11 @@ def screeplot(self,clr_eig='C0', linewidth=.3, title='Screeplot', violin_kwargs soi = pyleo.utils.load_dataset('SOI') soi_time_axes = [pyleo.utils.random_time_axis(n=len(soi.time)) for _ in range(n)] - soi_ens = pyleo.EnsembleGeoSeries([pyleo.GeoSeries(time=time, value=soi.value,lat=0,lon=0,auto_time_params=True) for time in soi_time_axes]) + soi_ens = pyleo.EnsembleGeoSeries([pyleo.GeoSeries(time=time, value=soi.value,lat=0,lon=0,auto_time_params=True,verbose=False) for time in soi_time_axes]) nino3 = pyleo.utils.load_dataset('NINO3') nino3_time_axes = [pyleo.utils.random_time_axis(n=len(nino3.time)) for _ in range(n)] - nino3_ens = pyleo.EnsembleGeoSeries([pyleo.GeoSeries(time=time, value=nino3.value,lat=0,lon=0,auto_time_params=True) for time in nino3_time_axes]) + nino3_ens = pyleo.EnsembleGeoSeries([pyleo.GeoSeries(time=time, value=nino3.value,lat=0,lon=0,auto_time_params=True,verbose=False) for time in nino3_time_axes]) mul_ens = pyleo.MulEnsGeoSeries([nino3_ens,soi_ens]) mcpca = mul_ens.mcpca(nsim=10,seed=42) diff --git a/setup.py b/setup.py index f884e2b0..cf33da89 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages -version = '0.14.1b0' +version = '1.0.0' # Read the readme file contents into variable def read(fname): @@ -42,8 +42,9 @@ def read(fname): "Unidecode>=1.1.1", "cartopy>=0.22.0", "pyyaml", - "beautifulsoup4", - "scipy", + "beautifulsoup4", + "scipy", + "requests", ], python_requires=">=3.9", )