You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are now in a position to package the Spinup-NEMO code:
High level view of the algorithm:
[PRE-RUN] Run DINO for 50-100 years (minimum). Slurm script has been provided in NEMO notes. If we need to train on more data we then need to concatentate simulation outputs *grid_T.nc using ncrcat.
Evaluate metrics here.
Run the resampling notebook (See resample_dino_data) branch.
This notebook converts DINO 2d monthly SSH output DINO_1m_grid_T.nc to annual DINO_1m_To_1y_grid_T.nc. Temperature and salinity (3D) are sampled annually already and are in DINO_1y_grid_T.nc. We can then read these files in the updated notebook for DINO (but it still works for NEMO).
Load output in updated Jumper.ipynbnotebook and run to create projected state.
Evaluate metrics at this point? This relies on having sufficient output from step 1.6. Prepare restart file:
Combine mesh_mask[0000].nc files and DINO_[<time>]_restart_[<process>].nc (last files) using REBUILD_NEMO tools
Create new restart file: Run main_restart.py. main_restart.py --restart_path /path/to/nemo_data/ --radical DINO_00576000_restart --mask_file /path/to/mesh_mask.nc --prediction_path /path/to/simus_predicted main_restart.py has been modified to work on DINO data. This is in the run_with_DINO_data branch.
Restart DINO with updated restart file.
Evaluate metrics at regular intervals (like every 10 years) to see how close the correction brings us to ground truth. Does it converge or diverge?
Specification for packaging the above:
The aim is to provide a tool that allows people in IPSL to do ML assisted spinup without external help. The packaging should enable researchers to experiment with different parameters / inputs / addition of other metrics:
jump interval.
quantity of data at start.
a jump strategy i.e. 10 intervals, scaling to 30 years at end progressively.
algorithms like PCA.
add more metrics.
Provide a script that automates these above steps:
This needs to be executed end-to-end
Docker
pip install
Provide documentation:
A report with output file. What should this output report provide? Some idea of how far we are away from the ground truth at various points?
Metrics (provide instructions on how to add more metrics).
Take in other inputs, i.e., .npy from Etienne's diffusion process.
Run iteratively
Nemo + projection multiple times.
Development strategy:
Convert notebooks into scripts / modules.
Resampling.py
What do main_forecast.py and main_restart.py do - can probably be modified for purposes of providing an automated tool.
The text was updated successfully, but these errors were encountered:
We are now in a position to package the Spinup-NEMO code:
High level view of the algorithm:
*grid_T.nc
usingncrcat
.This notebook converts DINO 2d monthly SSH output
DINO_1m_grid_T.nc
to annualDINO_1m_To_1y_grid_T.nc
. Temperature and salinity (3D) are sampled annually already and are inDINO_1y_grid_T.nc
. We can then read these files in the updated notebook for DINO (but it still works for NEMO).Jumper.ipynb
notebook and run to create projected state.Combine
mesh_mask[0000].nc
files andDINO_[<time>]_restart_[<process>].nc
(last files) using REBUILD_NEMO toolsCreate new restart file: Run
main_restart.py
.main_restart.py --restart_path /path/to/nemo_data/ --radical DINO_00576000_restart --mask_file /path/to/mesh_mask.nc --prediction_path /path/to/simus_predicted
main_restart.py
has been modified to work on DINO data. This is in the run_with_DINO_data branch.Specification for
packaging
the above:The aim is to provide a tool that allows people in IPSL to do ML assisted spinup without external help. The packaging should enable researchers to experiment with different parameters / inputs / addition of other metrics:
pip install
.npy
from Etienne's diffusion process.Development strategy:
Resampling.py
main_forecast.py
andmain_restart.py
do - can probably be modified for purposes of providing an automated tool.The text was updated successfully, but these errors were encountered: