-
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
Refactor fv3 runtime modules and image construction #185
Changes from all commits
8ca8819
5909c73
cee28fd
305629f
ff9f938
b31a099
8f9cb3c
31930d9
f994766
871be05
db16a39
47d69e3
3c91902
87a9127
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
======= | ||
History | ||
======= | ||
|
||
Current | ||
------- | ||
|
||
0.1.0 (2020-03-20) | ||
------------------ | ||
|
||
* First release of fv3net |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM us.gcr.io/vcm-ml/fv3gfs-python:v0.2.1 | ||
|
||
|
||
COPY docker/prognostic_run/requirements.txt /tmp/requirements.txt | ||
RUN pip3 install -r /tmp/requirements.txt | ||
COPY fv3net-0.1.0-py3-none-any.whl /wheels/fv3net-0.1.0-py3-none-any.whl | ||
COPY vcm-0.1.0-py3-none-any.whl /wheels/vcm-0.1.0-py3-none-any.whl | ||
RUN pip3 install --no-deps /wheels/fv3net-0.1.0-py3-none-any.whl && pip3 install /wheels/vcm-0.1.0-py3-none-any.whl |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
scikit-learn==0.22.1 | ||
dask | ||
joblib | ||
zarr | ||
scikit-image |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ dependencies: | |
- h5netcdf | ||
- h5py>=2.10 | ||
- hypothesis | ||
- pandas=1.0.1 | ||
- intake | ||
- intake-xarray | ||
- metpy | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ class dotdict(dict): | |
__delattr__ = dict.__delitem__ | ||
|
||
|
||
def get_config(): | ||
def get_runfile_config(): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What do you mean by a runfile config? Should we formalize this somehow? I see the value of the concept, but given what this function does it seems like There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree with you, and have removed this function in #193. I think i will merge this as is though, just to get the ball rolling. |
||
with open("fv3config.yml") as f: | ||
config = yaml.safe_load(f) | ||
return dotdict(config["scikit_learn"]) | ||
|
This file was deleted.
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.
Neat. 🤩