From 28419417f39567e2ff5eb5a2199c881f00ea5037 Mon Sep 17 00:00:00 2001 From: Peter Desmet Date: Wed, 4 Dec 2024 10:03:52 +0100 Subject: [PATCH] Rename enram to aloftdata --- CHANGELOG.md | 2 +- CITATION.cff | 4 ++-- CONTRIBUTING.md | 6 +++--- README.md | 2 +- docs/conf.py | 2 +- setup.cfg | 10 +++++----- src/vptstools/bin/vph5_to_vpts.py | 2 +- src/vptstools/vpts.py | 6 +++--- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a67d160..13acc01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # Changelog -See . \ No newline at end of file +See . \ No newline at end of file diff --git a/CITATION.cff b/CITATION.cff index c5af82c..efdcbf0 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -25,8 +25,8 @@ authors: email: peter.desmet@inbo.be affiliation: Research Institute for Nature and Forest (INBO) orcid: https://orcid.org/0000-0002-8442-8025 -repository-code: https://github.com/enram/vptstools -url: https://enram.github.io/vptstools/ +repository-code: https://github.com/aloftdata/vptstools +url: https://aloftdata.github.io/vptstools/ date-released: '2024-10-22' keywords: - data transformation diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4df7546..8d72d5b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -223,7 +223,7 @@ Github Actions is used to automatic push releases to pypi by the publish step in - `git push origin master` - Add git tags: `git tag vX.X.X` - Push the git tags: `git push --tags` -- On the [release page](https://github.com/enram/vptstools/releases) draft a new release using the latest git tag +- On the [release page](https://github.com/aloftdata/vptstools/releases) draft a new release using the latest git tag - Copy past the changes from the changelog in the dialog and publish release - Check if Github Actions runs the deployment of docs and pypi @@ -280,5 +280,5 @@ module are required: [virtualenv]: https://docs.python.org/3/library/venv.html -[repository]: https://github.com/enram/vptstools -[issue tracker]: https://github.com/enram/vptstools/issues +[repository]: https://github.com/aloftdata/vptstools +[issue tracker]: https://github.com/aloftdata/vptstools/issues diff --git a/README.md b/README.md index 34f0026..4967efe 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Project generated with PyScaffold](https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold)](https://pyscaffold.org/) [![PyPI-Server](https://img.shields.io/pypi/v/vptstools.svg)](https://pypi.org/project/vptstools/) -[![.github/workflows/release.yml](https://github.com/enram/vptstools/actions/workflows/release.yml/badge.svg)](https://github.com/enram/vptstools/actions/workflows/release.yml) +[![.github/workflows/release.yml](https://github.com/aloftdata/vptstools/actions/workflows/release.yml/badge.svg)](https://github.com/aloftdata/vptstools/actions/workflows/release.yml) [![repo status](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.13959705.svg)](https://doi.org/10.5281/zenodo.13959705) diff --git a/docs/conf.py b/docs/conf.py index ecd76a7..85efdba 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -262,7 +262,7 @@ # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ("index", "user_guide.tex", "vptstools Documentation", "enram", "manual") + ("index", "user_guide.tex", "vptstools Documentation", "aloftdata", "manual") ] # The name of an image file (relative to this directory) to place at the top of diff --git a/setup.cfg b/setup.cfg index 9db127e..c38b2a9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,13 +11,13 @@ license = MIT license_files = LICENSE.txt long_description = file: README.md long_description_content_type = text/markdown; charset=UTF-8 -url = https://enram.github.io/vptstools/ +url = https://aloftdata.github.io/vptstools/ # Add here related links, for example: project_urls = - Documentation = https://enram.github.io/vptstools/ - Source = https://github.com/enram/vptstools - Changelog = https://enram.github.io/vptstools/changelog.html - Tracker = https://github.com/enram/vptstools/issues + Documentation = https://aloftdata.github.io/vptstools/ + Source = https://github.com/aloftdata/vptstools + Changelog = https://aloftdata.github.io/vptstools/changelog.html + Tracker = https://github.com/aloftdata/vptstools/issues # Download = "https://pypi.org/project/vptstools/#files" # Change if running only on Windows, Mac or Linux (comma-separated) diff --git a/src/vptstools/bin/vph5_to_vpts.py b/src/vptstools/bin/vph5_to_vpts.py index 55444e0..066e0d5 100644 --- a/src/vptstools/bin/vph5_to_vpts.py +++ b/src/vptstools/bin/vph5_to_vpts.py @@ -65,7 +65,7 @@ def cli(modified_days_ago, path_s3_folder=None): :py:mod:`vpts.bin.transfer_baltrad` CLI routine). Using an `s3 inventory bucket `_, check which HDF5 files were recently added and convert those files from ODIM bird profile to the - `VPTS CSV format `_. Finally, upload the generated daily/monthly VPTS files to S3. + `VPTS CSV format `_. Finally, upload the generated daily/monthly VPTS files to S3. When using the `path_s3_folder` option, the modified date is not used, but a recursive search within the given s3 path is applied to define the daily/monthly files to recreate. diff --git a/src/vptstools/vpts.py b/src/vptstools/vpts.py index 5271056..4fd4cb8 100644 --- a/src/vptstools/vpts.py +++ b/src/vptstools/vpts.py @@ -302,7 +302,7 @@ def validate_vpts(df, schema_version="v1.0"): df : pandas.DataFrame DataFrame as created by the vp or vpts functions schema_version : str, v1.0,... - Version according to a release tag of https://github.com/enram/vpts-csv/tags + Version according to a release tag of https://github.com/aloftdata/vpts-csv/tags Returns ------- @@ -325,7 +325,7 @@ def _write_resource_descriptor(vpts_file_path: Path, schema_version="v1.0"): vpts_file_path : pathlib.Path File path of the resource (VPTS file) written to disk schema_version : - Version according to a release tag of https://github.com/enram/vpts-csv/tags + Version according to a release tag of https://github.com/aloftdata/vpts-csv/tags """ content = { "name": "vpts", @@ -334,7 +334,7 @@ def _write_resource_descriptor(vpts_file_path: Path, schema_version="v1.0"): "mediatype": "text/csv", "encoding": CSV_ENCODING, "dialect": {"delimiter": CSV_FIELD_DELIMITER}, - "schema": f"https://raw.githubusercontent.com/enram/vpts-csv/" + "schema": f"https://raw.githubusercontent.com/aloftdata/vpts-csv/" f"{schema_version}/vpts-csv-table-schema.json", } vpts_file_path.parent.mkdir(parents=True, exist_ok=True)