-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feature/one step save baseline #193
Merged
+475
−187
Merged
Changes from 76 commits
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
8ca8819
Refactore online_modules to fv3net
nbren12 5909c73
black
nbren12 cee28fd
Create us.gcr.io/vcm-ml/prognostic_run:v0.1.0
nbren12 305629f
Refactor us.gcr.io/vcm-ml/fv3net image build code
nbren12 ff9f938
Add build_images makefile target
nbren12 b31a099
Add __version__ to fv3net init
nbren12 8f9cb3c
update prognostic_run_diags configuration
nbren12 31930d9
black
nbren12 f994766
update readme
nbren12 871be05
Fix table in README
nbren12 db16a39
fix yaml bug
nbren12 47d69e3
pin pandas version to 1.0.1
nbren12 cfe4523
save and process outputs at different stages
nbren12 1b120ad
post process runfile
nbren12 61c2036
Initialize the zarr store
nbren12 46b4f0f
write code to insert output in zarr store
nbren12 f6827c0
get data for one time-step saved in the cloud
nbren12 7eb6314
test for full set of steps
nbren12 2981824
update fv3config submodule
nbren12 3f6edda
update fv3config to master
nbren12 a735a2e
Refactor config generation
nbren12 8a7a49c
print more info in zarr_stat
nbren12 ff62ff3
remove some files
nbren12 a152ed7
Separate kube_config and fv3config handling
nbren12 e397c13
black and add workflow to job lables
nbren12 71f7300
linter
nbren12 74d5c9b
save coordinate information and attrs to the big zarr
nbren12 27cb13d
add coordinate info in runfile
nbren12 b8a9c04
debug
nbren12 0cf8cff
move writing into runfile
nbren12 8f443f7
black
nbren12 fdac3bc
log zarr creation stuff
nbren12 c6ad40b
initialize array with timesteps
nbren12 b7de07f
save many more outputs
nbren12 32ff298
parallelize opening writing across variables
nbren12 c8bff73
write data with only the master thread
nbren12 cad7e08
debug out of memory error
nbren12 49334f5
fix store call
nbren12 d0c77d5
change versioning info in makefile
nbren12 cfed20f
add tracer variables
nbren12 ae2e383
change image version and chunking
nbren12 97e4627
change chunks size
nbren12 34426c0
fix out of memory errors
nbren12 fba67f5
show dataset size in summary script
nbren12 4da489b
Add surface variables
nbren12 dc1f502
merge in two d data
nbren12 669df7e
reformat
nbren12 5a2d1a1
Merge branch 'master' into feature/one-step-save-baseline
nbren12 6f698bc
remove get_runfile_config
nbren12 56fe153
update fv3config to master
nbren12 e57c543
fix time dimension
nbren12 b85d0e9
add test of runfile
nbren12 92f2353
comment on need for fill_value=Nan
nbren12 1bc45b5
black
nbren12 b72a670
add provenance information to file
nbren12 08a7dc5
add git provenance info
nbren12 f2a4f0a
change order of arguments following upstream changes
nbren12 7a0d7b0
lint
nbren12 09cc500
fix runfile
nbren12 669bc68
comment out git logging, discovering the reop fails
nbren12 513562d
another runfile fix
nbren12 cf0e5ff
another bug 30 mins later...ugh
nbren12 f685dc9
delete submit_jobs.py
nbren12 597aab2
add some type hints
nbren12 732128f
lint
nbren12 e524d4e
Merge branch 'develop-one-steps' into feature/one-step-save-baseline
nbren12 558011d
unify the naming of the monitors and step names
nbren12 9f41b4b
Add out of memory troubleshooting info
nbren12 a962ef9
Update info about submission
nbren12 0e537bb
add comment clarifying the local upload dir
nbren12 3805291
lint
nbren12 9873e54
fix typo
nbren12 eb11110
Fix another bug
nbren12 3dd8cf0
another typo
nbren12 c144a5b
fix another bug
nbren12 2c5f2fe
fix key
nbren12 643757f
pass index to write_zarr_store
nbren12 d40b044
remove prototyping functions
nbren12 4a953da
lint
nbren12 92df973
bake the runfile into the submission script
nbren12 d4fa24f
print logging information
nbren12 71cc1ec
lint
nbren12 5a6fa36
update yaml with brian's code
nbren12 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -33,4 +33,5 @@ tox.ini | |
vcm-ml-data | ||
dataflow/*/env | ||
external/vcm/venv | ||
Dockerfile | ||
Dockerfile | ||
outdir/ |
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 |
---|---|---|
|
@@ -4,4 +4,5 @@ joblib | |
zarr | ||
scikit-image | ||
google-cloud-logging | ||
gitpython | ||
backoff |
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 |
---|---|---|
|
@@ -49,5 +49,6 @@ dependencies: | |
- pip: | ||
- gsutil | ||
- nc-time-axis>=1.2.0 | ||
- gitpython | ||
- bump2version>=0.5.11 | ||
- yq |
Submodule fv3config
updated
from 6bde7b to bb1c1f
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,3 +1,3 @@ | ||
from . import sklearn_interface as sklearn | ||
from .state_io import init_writers, append_to_writers, CF_TO_RESTART_MAP | ||
from .config import get_runfile_config, get_namelist | ||
from .config import get_namelist, get_config |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
workdir=$(pwd) | ||
src=gs://vcm-ml-data/orchestration-testing/test-andrep/coarsen_restarts_source-resolution_384_target-resolution_48/ | ||
output=gs://vcm-ml-data/testing-noah/one-step | ||
image=us.gcr.io/vcm-ml/prognostic_run:v0.1.0-a1 | ||
yaml=$PWD/deep-conv-off.yml | ||
|
||
gsutil -m rm -r $output > /dev/null | ||
( | ||
cd ../../ | ||
python $workdir/orchestrate_submit_jobs.py \ | ||
$src $yaml $image $output -o \ | ||
--config-version v0.3 | ||
) | ||
|
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
Empty file.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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's up with having this script and the empty
run_steps.sh
script?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.
These were for prototyping only, so I deleted these and pasted them into the readme as a quick example.