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

[Work In progress] Add basic airflow dags #11

Closed
wants to merge 1 commit into from
Closed

[Work In progress] Add basic airflow dags #11

wants to merge 1 commit into from

Conversation

hisergiorojas
Copy link

#3

@tdunning
Copy link
Member

How does this connect to the scripts in the weather-server repository?

'weather_MRMS_data',
default_args=default_args,
description='Download MRMS data',
schedule_interval=timedelta(days=1),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should run quite often (every 5-20 minutes) to minimize delay before we get the data. It should only do work if there is something that needs to be downloaded. I will be adding an interlock so that if an earlier invocation is still running, the task will abort quickly.

Comment on lines +29 to +39
t1 = BashOperator(
task_id='print_date',
bash_command='date'
)

t2 = BashOperator(
task_id='sleep',
depends_on_past=False,
bash_command='sleep 5',
retries=3,
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah.... I finally get it!

This is basically just one of the Airflow examples that hasn't been fully converted to run the actual download scripts.

In other words, a work-in-progress kind of thing.

Got it (sorry to be dense).

This pull request was closed.
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