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

Update data gather workflow to use github-actions #17

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

douglasnehme
Copy link
Collaborator

Update the data gather structure as suggested in #16 issue to enable github-actions usage.

In more words, I modified pnboia_get_active_buoy_data and this became the main gather data function while pnboia_update_local_data was removed from fetch_pnboia.py.

So the pipeline.py can work like this:

for buoy in buoys:
    # Get all the last data for each PNBOIA active buoy
    df = pnboia_get_active_buoy_data(buoy_id=buoy)
    
    # applying quality control pipeline for each active PNBOIA
    df = run_qc(df)

    # sending data to the database
    send_data_to_database(df, tablename='pnboia')

@nilodna nilodna linked an issue Sep 8, 2022 that may be closed by this pull request
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.

Github Actions: error when reading local file
1 participant