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

feature/Automatically update AWS_stations_metadata.csv and AWS_sites_metadata.csv from L3 files #277

Conversation

BaptisteVandecrux
Copy link
Member

@BaptisteVandecrux BaptisteVandecrux commented Jul 5, 2024

The idea is that, every time the level 3 data is processed, we read the output files and update the AWS_stations_metadata,csv and AWS_sites_metadata.csv with the latest timestamps and coordinates.

Since not every station is updated at each iteration, the script needs to first load the existing file and then only update the necessary rows.

Requires small edits of AWS-operational-processing:
https://github.com/GEUS-Glaciology-and-Climate/aws-operational-processing/pull/35

@PennyHow
Copy link
Member

PennyHow commented Jul 9, 2024

PR to change file path inference is now here: #279

@PennyHow PennyHow self-requested a review July 9, 2024 16:33
src/pypromice/postprocess/make_metadata_csv.py Outdated Show resolved Hide resolved
src/pypromice/postprocess/make_metadata_csv.py Outdated Show resolved Hide resolved
src/pypromice/postprocess/make_metadata_csv.py Outdated Show resolved Hide resolved
@BaptisteVandecrux BaptisteVandecrux changed the base branch from develop to feature/surface-heights-and-thermistor-depths July 11, 2024 14:33
@BaptisteVandecrux BaptisteVandecrux merged commit 4b20032 into feature/surface-heights-and-thermistor-depths Jul 16, 2024
4 checks passed
@BaptisteVandecrux BaptisteVandecrux deleted the feature/automatically-update-metadata-CSV-files branch July 16, 2024 11:57
ladsmund pushed a commit that referenced this pull request Aug 8, 2024
…metadata.csv from L3 files (#277)

* added make_metadata_csv.py, made it a CLI
* File paths specified rather than inferred (#279)
* fixed EOL in file attributes
* added project and stations as columns in metadata CSV
* update make_metadata_csv.py after review, store location_type attribute from config file into L3 dataset attribute
---------

Co-authored-by: Penny How <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants