Difference between revisions of "CodeBreak"

Line 3: Line 3:
  
 
Those sessions are an opportunity to come and have your questions answered by the CMS team, or to listen in to learn something new. Queries can be on some specific code you are writing, about a training you are trying to understand or broader questions about programming or scientific modelling.<br/> At the start of each session, we will ask you to provide a brief summary of your query so we can organise break-out rooms themed on topics, in order to make it possible to cover as many questions as possible and keep each room focussed on related problems.<br/> When appropriate we will take a few minutes at the beginning of a session to present useful new software or language features, interesting blogs or highlight new developments in modelling. These topics will be announced beforehand as they arise.
 
Those sessions are an opportunity to come and have your questions answered by the CMS team, or to listen in to learn something new. Queries can be on some specific code you are writing, about a training you are trying to understand or broader questions about programming or scientific modelling.<br/> At the start of each session, we will ask you to provide a brief summary of your query so we can organise break-out rooms themed on topics, in order to make it possible to cover as many questions as possible and keep each room focussed on related problems.<br/> When appropriate we will take a few minutes at the beginning of a session to present useful new software or language features, interesting blogs or highlight new developments in modelling. These topics will be announced beforehand as they arise.
 +
  
  
Line 56: Line 57:
 
<li>Using dask when calculating Eddy Kinetic Energy for high resolution ocean model</li>
 
<li>Using dask when calculating Eddy Kinetic Energy for high resolution ocean model</li>
 
<li>How to calculate antecedent precipitation index efficiently for entire AGCD dataset</li>
 
<li>How to calculate antecedent precipitation index efficiently for entire AGCD dataset</li>
 +
</ul>
 +
 +
=== [[CodeBreak_08/12/2021|08/12/2021]] ===
 +
<ul style="margin-top:0;margin-bottom:0;padding-inline-start:48px;">
 +
<li>Particle trajectory data analysis.</li>
 +
<li>Fortran code strange behaviour</li>
 +
<li>Old Python code crash due to user-installed package needing update</li>
 +
<li>Using ERA5 data as input for the HySplit trajectory model</li>
 +
<li>ACCESS-OM2 output: selection of time slice</li>
 +
<li>Understanding xarray, chunking, queue</li>
 
</ul>
 
</ul>

Revision as of 19:52, 14 December 2021

The CMS team is running CodeBreak sessions every fortnight.

Those sessions are an opportunity to come and have your questions answered by the CMS team, or to listen in to learn something new. Queries can be on some specific code you are writing, about a training you are trying to understand or broader questions about programming or scientific modelling.
At the start of each session, we will ask you to provide a brief summary of your query so we can organise break-out rooms themed on topics, in order to make it possible to cover as many questions as possible and keep each room focussed on related problems.
When appropriate we will take a few minutes at the beginning of a session to present useful new software or language features, interesting blogs or highlight new developments in modelling. These topics will be announced beforehand as they arise.



CodeBreak sessions synopsis

1/9/2021

  • How to organise plotting large numbers of plots from heterogenous models in python
  • Layout of subplots with matplotlib in python
  • Fast percentile calculation in python

 

15/9/2021

  • How to analyse data weekly and creating weekly climatology
  • Curl calculations
  • Weighted function in xarray
  • How to organise calculations dynamically with python data structure (dict) e.g. looping over seasons

 

29/9/2021

  • What to do when variables have coordinates that are not quite equal.
  • Calculate daily means of ERA5 pressure-level data
  • Conversion of UM outputs between pressure and model levels
  • Writing a Xarray DataArray sub-class
  • Incompatible datetime and cftime error
  • Reprojecting data from metres to lat/lon in python

 

13/10/2021

  • Applying land masking to CMIP data
  • netCDF compression
  • Bathymetry data

27/10/2021

  • Panel plot or facet plot along the time axis

24/11/2021

  • Using dask when calculating Eddy Kinetic Energy for high resolution ocean model
  • How to calculate antecedent precipitation index efficiently for entire AGCD dataset

08/12/2021

  • Particle trajectory data analysis.
  • Fortran code strange behaviour
  • Old Python code crash due to user-installed package needing update
  • Using ERA5 data as input for the HySplit trajectory model
  • ACCESS-OM2 output: selection of time slice
  • Understanding xarray, chunking, queue