Skip to content

Data pipeline fixes for full datasets pickle generation#1

Open
giacomoguiduzzi wants to merge 3 commits intosoftlab-unimore:mainfrom
giacomoguiduzzi:main
Open

Data pipeline fixes for full datasets pickle generation#1
giacomoguiduzzi wants to merge 3 commits intosoftlab-unimore:mainfrom
giacomoguiduzzi:main

Conversation

@giacomoguiduzzi
Copy link

This pull request introduces several improvements and fixes:

  1. params_french.json

    • Fixed a typo in the "ctx_filename" value by removing an unwanted backtick character.
      data_step.py
  2. Refactored the handling of the features_stn parameter for clarity and robustness.

  3. Enhanced the pickling process: now ensures the pickles directory exists before saving, to prevent errors if the directory is missing.

  4. istf/dataset/ushcn/read.py

    • Changed context extraction to use "LONGITUDE" and "LATITUDE" columns instead of "X" and "Y" for better clarity and accuracy in geo-coordinates.

These changes improve code clarity, robustness, and ensure correct handling of file paths and context columns.

…undesired character was part of a file path.
…"X" and "Y", but the data format was changed on the remote side and are now called "LONGITUDE" and "LATITUDE".
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.

1 participant