-
Notifications
You must be signed in to change notification settings - Fork 0
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
Extraction and Transformation of Ibtracs #210
Conversation
0f43aef
to
35d0d99
Compare
sample.env
Outdated
@@ -1,13 +1,23 @@ | |||
DJANGO_SECRET_KEY=test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please undo this change. We no longer need sample.env
@@ -339,7 +342,7 @@ | |||
SENTRY_DSN = env("SENTRY_DSN") | |||
SENTRY_ENABLED = False | |||
SENTRY_MONITOR_CELERY_BEAT_TASKS = env("SENTRY_MONITOR_CELERY_BEAT_TASKS") | |||
if SENTRY_DSN: | |||
if SENTRY_DSN is not None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the different here?
helm/values-test.yaml
Outdated
@@ -27,6 +27,7 @@ env: | |||
USGS_DATA_URL: https://usgs.dummy.com | |||
EMDAT_URL: https://emdat.dummy.com | |||
|
|||
IBTRACS_DATA_URL: https://ibtracs.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IBTRACS_DATA_URL: https://ibtracs.com | |
IBTRACS_DATA_URL: https://ibtracs.dummy.com |
|
||
@staticmethod | ||
@app.task | ||
def task(extraction_id): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def task(extraction_id): | |
def task(extraction_id: int): |
|
||
@staticmethod | ||
@app.task | ||
def task(DATA_URL): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def task(DATA_URL): | |
def task(url: str): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to update the extraction logic.
1ec7023
to
3e283ab
Compare
- Update transformation of ibtracs - Update env variable in helm chart - Update source task and collection - Update geocoder in basehandler
3e283ab
to
ce47131
Compare
Addresses
This PR doesn't introduce any:
print
This PR contains valid: