Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zz release 0.1.15 #90

Merged
merged 4 commits into from
Jul 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added dist/icoscp-0.1.15-py3-none-any.whl
Binary file not shown.
Binary file added dist/icoscp-0.1.15.tar.gz
Binary file not shown.
13 changes: 8 additions & 5 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
[https://meta.icos-cp.eu/objects/M8STRfcQfU4Yj7Uy0snHvlve/meta.json](https://meta.icos-cp.eu/objects/M8STRfcQfU4Yj7Uy0snHvlve/meta.json)
- Add new property: `.previous` Return the pid/url of the previous version of this file if available.
- Add new property: `.next` -> Return the pid/url of the next version of this file if available.
- Add new property: `.variables` Return a PandasDataFrame with metadata for all variables ['name', 'unit', 'type', 'format']
- Add new property: `.variables` Return a PandasDataFrame with metadata for all variables ['name', 'unit', 'type', 'format'].
- Add new property: `.alt` Returns altitude of station, the same as `.elevation`.
- Remove properties: `._info1`, `._info2`, `._info3` from Dobj.
- Change `.info` (consisted of info 1,2,3,) and return `.meta` instead
- Change `.info` (consisted of info 1,2,3,) and return `.meta` instead.
- Change `.station`: Returns a dictionary with a subset of .meta describing the station.
- Change of `.colNames`: returns now a list of strings with all variable names instead of a pandas core series.
- License is extracted dynamically from the metadata per object.
- Add new method `get_citation(format='plain')`. Returns the citation by default as plain string, the same as .citation (property) which internally calls this method.
Argument options are 'bibtex', 'ris', 'plain') -> `.citation('bibtex'|'ris'|'plain')`
- `print(Dobj)` output of \_\_str\_\_ changed to plain citation string, instead of pid
- References to server calls moved to `const.py`
Argument options are 'bibtex', 'ris', 'plain') -> `.citation('bibtex'|'ris'|'plain')`.
- `print(Dobj)` output of \_\_str\_\_ changed to plain citation string, instead of pid.
- References to server calls moved to `const.py`.
- Rename file dtype_dict.py to dtype.py for better readability.
- add simple unit test and implement initial assertions for the cpb module.

Expand All @@ -33,6 +33,9 @@
- resolve deprecation warnings from `numpy` calls.
- implement `stiltstation.find()` by `project`.
- add `outfmt='avail'` argument to `stiltstation.find()` function to generate an availability table for `STILT stations`.
- fix `stiltstation.find(outfmt='list')`.
- fix `print(stiltobj)` by removing country information. Country information can still be retrieved using the `.info`
attribute of the `StilStation` object.

## 0.1.14
- update `get_ts()` to case-insensitive and include `co2.bio.gee` and `co2.bio.resp` in the
Expand Down
6 changes: 3 additions & 3 deletions icoscp.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Metadata-Version: 2.1
Name: icoscp
Version: 0.1.14
Version: 0.1.15
Summary: Access to ICOS data objects hosted at https://data.icos-cp.eu
Home-page: https://www.icos-cp.eu/
Author: Claudio D'Onofrio, Zois Zogopoulos, ICOS Carbon Portal
Author-email: claudio.donofrio@nateko.lu.se, zois.zogopoulos@nateko.lu.se, info@icos-cp.eu
Author: Claudio D'Onofrio, Zois Zogopoulos, Anders Dahlner, ICOS Carbon Portal
Author-email: claudio.donofrio@nateko.lu.se, zois.zogopoulos@nateko.lu.se, anders.dahlner@nateko.lu.se, info@icos-cp.eu
License: GPLv3+
Project-URL: Source, https://github.com/ICOS-Carbon-Portal/pylib
Project-URL: Documentation, https://icos-carbon-portal.github.io/pylib/
Expand Down
8 changes: 6 additions & 2 deletions icoscp.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ icoscp/collection/__init__.py
icoscp/collection/collection.py
icoscp/cpb/__init__.py
icoscp/cpb/dobj.py
icoscp/cpb/dtype_dict.py
icoscp/cpb/dtype.py
icoscp/cpb/get_size.py
icoscp/cpb/logfile.py
icoscp/cpb/metadata.py
icoscp/sparql/__init__.py
icoscp/sparql/runsparql.py
icoscp/sparql/sparqls.py
Expand All @@ -28,4 +29,7 @@ icoscp/stilt/geoinfo.py
icoscp/stilt/stations.json
icoscp/stilt/stiltobj.py
icoscp/stilt/stiltstation.py
icoscp/stilt/timefuncs.py
icoscp/stilt/timefuncs.py
icoscp/test/__init__.py
icoscp/test/test_station.py
test/test_cpb.py
4 changes: 2 additions & 2 deletions icoscp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

__credits__ = "ICOS Carbon Portal"
__license__ = ['Software: GPL-3.0','ICSO Data accessed with this library CC BY 4.0']
__version__ = "0.1.14"
__version__ = "0.1.15"
__maintainer__ = "ICOS Carbon Portal, elaborated products team"
__email__ = ['info@icos-cp.eu', 'claudio.donofrio@nateko.lu.se']
__status__ = "stable"
__date__ = "2022-02-17"
__date__ = "2022-07-06"

10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ def readme():

setuptools.setup(
name='icoscp',
version='0.1.14',
version='0.1.15',
license='GPLv3+',
author="Claudio D'Onofrio, Zois Zogopoulos, ICOS Carbon Portal",
author_email='claudio.donofrio@nateko.lu.se, zois.zogopoulos@nateko.lu.se, info@icos-cp.eu',
author="Claudio D'Onofrio, Zois Zogopoulos, Anders Dahlner, ICOS Carbon Portal",
author_email='claudio.donofrio@nateko.lu.se, zois.zogopoulos@nateko.lu.se, anders.dahlner@nateko.lu.se, info@icos-cp.eu',
packages=setuptools.find_packages(),
include_package_data=True,
data_files=[('icoscp/.', ['icoscp/countries.json'])],
Expand All @@ -29,7 +29,7 @@ def readme():
install_requires=['pandas','requests','tqdm', 'folium'],
classifiers=[
'Programming Language :: Python :: 3',
'Development Status :: 4 - Beta',
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
Expand All @@ -41,7 +41,7 @@ def readme():
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Utilities',
'Topic :: Utilities',
],
)

Expand Down