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

pypromicev1.4.0 (without squashing commits) #294

Merged
merged 247 commits into from
Aug 20, 2024
Merged

pypromicev1.4.0 (without squashing commits) #294

merged 247 commits into from
Aug 20, 2024

Conversation

BaptisteVandecrux
Copy link
Member

Bringing all changes from develop to main branch:

Producing data in its new structure: level 2 statin data + level 3 site data

image

fixing #246, #247, #175

Merging of data from different stations at the same site + historical GC-Net station data are appended to GEUS GC-Net station data

fixing #175

Calculation of gap-free and smoothed lat, lon and alt and mean coords as attributes

fixing #236, #173, #124

Calculation of a continuous surface height, ice surface height and snow height variables z_surf_combined, z_ice_surf and snow_height

fixing #10

Calculation of the thermistors' depth

fixing #248

Reading station configutation files from AWS-L0/metadata/station_configuration

fixing #217

Updating metadata CSV automatically

fixing #142

Also:

  • Updated tests
  • Code refactoring
  • new pandas and xarray version

ladsmund and others added 16 commits August 20, 2024 19:48
get_l2 were previously also loading vars and meta in addition to AWS.
AWS is populating meta with source information during instantiation.
…tadata files

* Refactor getVar getMeta
* Use pypromice.resources instaed of pkg_resources
The format string was previously selected from the last l0 file.
* Added test case for output meta data
* Added json formatted source string to attributes
* Added title string to attributes
* Updated ID string to include level
* Added utility function for fetching git commit id
* Added test station configuration
* Cleanup test data files
* Added data issues path to process_test.yml
* passing adjustment_dir to L2toL3.py

* fixing attributes in join_l3

- station_attribute containing info from merged dataset was lost when concatenating the datasets
- The key "source" is not present in the attributes of the old GC-Net files so `station_source = json.loads(station_attributes["source"])` was throwing an error

* give data_issues_path to get_l2tol3 in test_process

* using data_adjustments_dir as input in AWS.getL3

* adding path to dummy data_issues folder to process_test

* making sure data_issues_path  is Path in get_l2tol3
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.

3 participants