Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@
# Airflow Logs Directory
logs/**
!logs/readme.md

# env file
.env
4 changes: 2 additions & 2 deletions dags/cumulus/abrfc_qpe_01h.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def cumulus_abrfc_qpe_01h():
"""This pipeline handles download, processing, and derivative product creation for \n
ABRFC QPE\n
URL Dir - https://tgftp.nws.noaa.gov/data/rfc/abrfc/xmrg_qpe/
Files matching abrfc_qpe_01hr_YYYYMMDDHHZ.nc - 1 hour\n
Files matching abrfc_qpe_01hr_YYYYMMDDHHZ.nc.gz - 1 hour\n
Note: Delay observed when watching new product timestamp on file at source.
Example: timestamp said 15:50, but was pushed to server at 16:07
"""
Expand All @@ -48,7 +48,7 @@ def cumulus_abrfc_qpe_01h():
@task()
def download_raw_qpe():
logical_date = get_current_context()["logical_date"]
filename = f'abrfc_qpe_01hr_{logical_date.strftime("%Y%m%d%H")}Z.nc'
filename = f'abrfc_qpe_01hr_{logical_date.strftime("%Y%m%d%H")}Z.nc.gz'
s3_key = f"{cumulus.S3_ACQUIRABLE_PREFIX}/{PRODUCT_SLUG}/{filename}"
print(f"Downloading file: {filename}")
trigger_download(
Expand Down