In Situ or BAtch VIsualization of biogeochemical state of the Mediterranean Sea
Project reference: 1607
Reanalysis (i.e. multi-decadal simulations with data assimilation) of the biogeochemical state of the Mediterranean Sea are an important tool to study the nutrient and carbon cycles characterizing the Mediterranean, considered as a “hot spot” for climate change (Lazzari et al., JMS 135, 2014; Giorgi, GRL 33, 2006).
Due to the lack of sufficient in-situ observational data and the length of the simulations carried out with OGSTM-BFM model, necessary to resolve the proper time scales, researchers have to tune the model setup and particularly the boundary conditions (BCs), to which the model is very sensitive. The possibility to explore the model behavior during runtime could be beneficial to control the correctness of the nutrient and carbon cycle estimates and the key ecosystem processes. Obviously, an increase of the spatial and temporal resolution of the simulation, often requested by the CMEMS users, means a longer simulation time, an increase of the memory burden and therefore a difficulty to manage the output, and possibly, the need of an optimal tool to analyze the model state with enough details from the open ocean to the coastal areas.
An online (i.e. runtime) 3D visualization tool will be extremely helpful to check the status of the simulation by consistently evaluating how the biogeochemistry (for its key ecosystem dynamics or for some specific biogeochemical variables in selected areas) is affected by the nutrient and carbon cycles specifically related to the BCs: the Atlantic inflow at Gibraltar Strait, the atmospheric deposition, the terrestrial inputs at rivers.
We propose to develop a 3D visualization tool that can be used online to check the correctness of the reanalysis but that may be adopted also offline (i.e. for post-processing) to explore the time evolution of the 3D fields of nutrient and carbon, in particular following the biogeochemical signals related to the three main BCs.
This task is particularly ambitious due to the strong anisotropy in the dimensional scales of the model volume, e.g. the Mediterranean Sea has a horizontal scale of 4000 km and a vertical scale of 4 km in its maximum depth.
Such tool will be designed and implemented to be portable to other coupled modeling systems used at OGS and for different purposes: from the long-term, multi-decadal runs to the operational workflow embedded in the CMEMS infrastructure.
As an added value, the tool will be then integrated within the Visual-Lab facility that is planned to become operational at OGS during 2016.
Project Mentor: Paolo Lazzari
Site Co-ordinator: Luigi Calori
Student: Petr Valenta
Increase student’s skills about:
- OpenMP (if necessary)
- Pre-processor directives
- Managing resources on Tier-0 and Tier-1 systems
- Batch scheduler (PBS)
- Remote visualization
- Batch visualization of scientific data (ParaViewCINEMA)
- Video and 3D editing (Blender)
Student Prerequisites (compulsory):
- Python : strong
- ParaView : good
- Fortran or C: good (Fortran is better)
Student Prerequisites (desirable):
Week 1: Common Training session
Week 2: Introduction to CINECA systems, small tutorials on parallel visualization and detailed work planning.
Week 3: Problem analysis and deliver final Workplan at the end of week.
Week 4, 5: Production phase (A proper visualization workflow will be implemented starting from existing outputs).
Week 6, 7: Final stage of production phase (Depending on the results and timeframe, the visualization scripts will be adapted to the production workflow). Preparation of the final movie.
Week 8: Finishing the final movie. Write the final Report.
Final Product Description:
The purpose of this project is to integrate a visualization tool within the current OGSTM-BFM model workflow. Our final product will consists into visualization scripts based on ParaView ecosystem ( either CINEMA component for batch visualization or CATALYST for in-situ ) as well as a movie illustrating the use and the results obtained during this 2 months work period. Also a small report on the work done will be produced.
Adapting the Project: Increasing the Difficulty:
If we will have enough time we could expand the project into two directions:
- Use the batch workflow of ParaView (ParaView CINEMA) to pre-compute all relevant visualization artefacts during simulation phase
- Instrument the OGSTM-BFM simulation code with ParaView CATALYST library to let visualization scripts to be live connected with simulation code ( in-situ visualization)
A part from the OGSTM-BFM model that is owned by OGS and will be provided in source form under a non-disclosure agreement, all other needed software ( mainly ParaView and Blender ) is released open source and already available on the CINECA clusters that will be used by the students with their own provided accounts.