-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
from dagster import Definitions, load_assets_from_modules | ||
from nwp import assets, jobs | ||
|
||
def test_compiles(): | ||
assert True | ||
all_assets = load_assets_from_modules([assets]) | ||
defs = Definitions( | ||
assets=all_assets, | ||
jobs=jobs.asset_jobs, | ||
schedules=jobs.schedule_jobs | ||
) |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
from nwp.assets.dwd.archive_to_hf import download_model_files, process_model_files, upload_model_files_to_hf | ||
from nwp.assets.ecmwf.mars import download_mars_file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
|
||
server = ECMWFService("mars") | ||
|
||
|
||
@asset | ||
def download_mars_file(): | ||
server.execute( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters