-
Notifications
You must be signed in to change notification settings - Fork 4
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
19 changed files
with
72,700 additions
and
362 deletions.
There are no files selected for viewing
1,352 changes: 1,352 additions & 0 deletions
1,352
AWS/NetCDF_to_JSON/generate_ecco_v4r4_jsons.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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,31 +1,43 @@ | ||
|
||
ECCO Dataset Production system-level tests | ||
========================================== | ||
# ECCO Dataset Production system-level tests | ||
|
||
Functionality | ||
------------- | ||
## End-to-end test/demonstration examples: | ||
|
||
- edp_aws_s3_sync: Tests various AWS S3 data sync operations: upload, | ||
download, and copy within AWS. | ||
The following examples can be used as a basis for creating dataset | ||
production pipelines for other datatypes: | ||
|
||
- edp_create_job_task_list: Tests creation of task lists based on high-level | ||
job definition files. | ||
- SSH\_native\_latlon\_local: Generation of native and latlon format | ||
granules from local input, with output to local directory. See | ||
"Configuring ECCO Dataset Production to run locally" in ../README.md | ||
for description. | ||
|
||
Test data: | ||
---------- | ||
- SSH\_native\_latlon\_local\_remote: Generation of native and latlon | ||
format granules from remote input data, with output to local | ||
directory. See "Configuring ECCO Dataset Production to run in | ||
local/remote mode" in ../README.md for description. | ||
|
||
- ./data/config/: ECCO Dataset Production configuration file examples. | ||
## Functionality | ||
|
||
- ./data/ecco_granules/: A selection of representative ECCO Dataset | ||
Production results data. | ||
- edp\_aws\_s3\_sync: Tests various AWS S3 data sync operations: | ||
upload, download, and copy within AWS. | ||
|
||
- ./data/ecco_grids/: ECCO grid definitions. | ||
- edp\_create\_job\_task\_list: Tests creation of task lists based on | ||
high-level job definition files. | ||
|
||
- ./data/ecco_results/: Sample ECCO MDS results data. See also | ||
download_selected_data.sh helper script that downloads selected MDS files | ||
per the data requirements in edp_create_job_task_list (above). | ||
## Test data: | ||
|
||
Notes | ||
----- | ||
- ./data/config/: ECCO Dataset Production configuration file examples. | ||
|
||
- Tests that rely on AWS S3 access require an AWS account with login privileges. | ||
- ./data/ecco_grids/: ECCO grid definitions and download script. | ||
|
||
- ./data/ecco\_mapping\_factors: ECCO mapping factors (interpolation | ||
to latlon grids) and download script. | ||
|
||
- ./data/ecco\_results/: Sample ECCO MDS results data. See also | ||
download\_selected\_data.sh helper script that downloads selected | ||
MDS files used in edp\_create\_job\_task\_list (above). | ||
|
||
## Remarks | ||
|
||
- Tests that rely on AWS S3 access require an AWS account with login | ||
privileges. |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
Complete example illustrating generation of native and latlon format | ||
granules from local input, with output to local directory. | ||
|
||
See "Configuring ECCO Dataset Production to run locally" in top-level | ||
../../README.md for details. | ||
|
||
Steps include: | ||
|
||
- Task list generation: | ||
`$ ./edp_create_job_task_list_SSH_native_latlon_mon_mean.sh` | ||
Output file `SSH_native_latlon_mon_mean_tasks.json` can be compared | ||
with saved results in `SSH_native_latlon_mon_mean_tasks.json.sav` | ||
|
||
- Granule generation based on generated task list: | ||
`$ ./edp_generate_dataproducts_SSH_native_latlon_mon_mean.sh` | ||
Resulting granules in `./V4r4` can be compared with saved results in | ||
`./V4r4_sav` |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
Complete example illustrating generation of native and latlon format | ||
granules from remote input, with output to local directory. | ||
|
||
See "Configuring ECCO Dataset Production to run in local/remote mode" | ||
in top-level ../../README.md for details. | ||
|
||
Steps include: | ||
|
||
- Task list generation: | ||
`$ ./edp_create_job_task_list_SSH_native_latlon_mon_mean.sh` | ||
Output file `SSH_native_latlon_mon_mean_tasks.json` can be compared | ||
with saved results in `SSH_native_latlon_mon_mean_tasks.json.sav` | ||
|
||
- Granule generation based on generated task list: | ||
`$ ./edp_generate_dataproducts_SSH_native_latlon_mon_mean.sh` | ||
Resulting granules in `./V4r4` can be compared with saved results in | ||
`./V4r4_sav` |
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,6 +1,6 @@ | ||
## ECCO grid test data. | ||
|
||
Although already inluded here for test purposes, the ECCO grids in this directory | ||
could have also been retrieved vi the included dowload.sh script, e.g.: | ||
could have also been retrieved via the included dowload.sh script, e.g.: | ||
|
||
$ download.sh -k /usr/local/bin/aws-login.darwin.amd64 -p saml-pub |
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,16 +1,15 @@ | ||
|
||
AWS S3 sync tests | ||
----------------- | ||
# AWS S3 sync tests | ||
|
||
Tests `aws_s3_sync` utility modes: upload (local->remote), download | ||
(remote->local) and S3 copy (remote->remote). | ||
|
||
A circularity test can be performed by running the three test cases in sequence: | ||
upload, copy within AWS, and download: | ||
A circularity test can be performed by running the three test cases in | ||
sequence: upload, copy within AWS, and download: | ||
|
||
- `edp_aws_s3_sync_local_remote.sh` | ||
- `edp_aws_s3_sync_remote_remote.sh` | ||
- `edp_aws_s3_sync_remote_local.sh' | ||
|
||
Note that the above tests require an AWS account with login privileges. | ||
Note that the above tests require an AWS account with login | ||
privileges. | ||
|
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,23 +1,30 @@ | ||
|
||
ECCO task list creation tests | ||
----------------------------- | ||
# ECCO task list creation (only) tests | ||
|
||
Each of the included tests generates a task list from a jobs description file | ||
(`jobs_example.txt`), and outputs the resulting list to a corresponding json | ||
file. | ||
|
||
- `edp_create_job_file_list_test_1.sh`: creates a task list based on | ||
locally-stored ECCO results | ||
- `edp_create_job_file_list_test_1.sh`: creates a task list based on | ||
locally-stored ECCO results. Compare with results saved in | ||
`edp_create_job_file_list_test_1.json.sav`. | ||
|
||
- `edp_create_job_file_list_test_2.sh`: creates a task list based on limited | ||
AWS S3-stored ECCO results (requires a prior data upload; see comments) | ||
- `edp_create_job_file_list_test_2.sh`: creates a task list based on | ||
limited AWS S3-stored ECCO results (requires a prior data upload; | ||
see Remarks). Compare with results saved in | ||
`edp_create_job_file_list_test_2.json.sav`. | ||
|
||
- `edp_create_job_file_list_test_3.sh`: creates a task list based on full | ||
AWS S3-stored ECCO results (requires presence of ECCO results, and | ||
retrieving S3 bucket object list may take some time (tens of minutes) | ||
depending on network connection speed; see comments) | ||
- `edp_create_job_file_list_test_3.sh`: creates a task list based on | ||
full AWS S3-stored ECCO results (requires presence of ECCO results, | ||
and retrieving S3 bucket object list may take some time (tens of | ||
minutes) depending on network connection speed; see Remarks). | ||
Compare with results saved in | ||
`edp_create_job_file_list_test_3.json.sav`. | ||
|
||
Note that all examples reference a local config file, | ||
`product_generation_config.yaml`, and those that reference AWS S3-stored data | ||
require an AWS account with login privileges. | ||
## Remarks: | ||
|
||
- Note that all examples reference a local config file, (currently | ||
`../../processing/configs/product_generation_config_updated.yaml`), | ||
and those that reference AWS S3-stored data require an AWS account | ||
with login privileges. | ||
|
Oops, something went wrong.