This dataset includes data and processing code from simulations of radiatively heated convection in melt ponds on sea ice, and is made available under the GNU General Public License v3:
http://www.gnu.org/licenses/gpl.html

Note that this code code has only been tested on original author's system, and we accept no responsibility for adverse consequences if used on other systems.
Use at your own risk.

In particular, be wary that bash scripts supplied may include code to detect and delete contents of directories in the current path.  Use with extreme caution.

Simulation results produced using code written by Andrew Wells and Tom Langton for use with, and exploiting examples from, the code Dedalus:
http://dedalus-project.org/index.html
Contact andrew.wells@physics.ox.ac.uk for further details.
Contents of this data repository follow below. 
The data included in this version correspond to figures 3 and S5, movies S2 and S3, and code described in supporting information in the study (manuscript in review at time of submission, but will update this repository when a version of the manuscript is publicly available):
Salinity control of thermal evolution of late summer melt ponds on Arctic sea ice 
Joo-Hong Kim1, Woosok Moon2,3, Andrew J. Wells4, Jeremy P. Wilkinson5, Tom Langton4, Byongjun Hwang6,7, Mats A. Granskog8Â and David Rees Jones9 
1Korea Polar Research Institute, Incheon, South Korea
2Nordic Institute for Theoretical Physics, Stockholm, Sweden
3Department of Mathematics, Stockholm University, Stockholm, Sweden
4Atmospheric, Oceanic and Planetary Physics, University of Oxford, Oxford, UK
5British Antarctic Survey, Cambridge, UK.
6Scottish Association for Marine Science, Oban, UK
7University of Huddersfield, Huddersfield, UK
8Norwegian Polar Institute, Fram Centre, Troms¸, Norway
9Dept. of Earth Sciences, University of Oxford, Oxford, UK
Subsequent versions of this data will update with information on any final destination of the manuscript.

Contents of the data repository:
N.B. all MATLAB scripts may have a dependency on the cbrewer function from MATLAB file repository.
python/bash scripts have a dependency on an active install of Dedalus:
http://dedalus-project.org/index.html

- Script to plot figure 3 is available as the MATLAB script file:
MeltPondGRLplotv3.m 
N.B. before running this script, unzip the source data (.mat files) in GRLplotdata.zip 

- Script to plot the analytical solutions in figure S5 is available as the MATLAB script file:
TransientConductionPlotFigS5GRL.m

- Simulation output associated with movie S2 (freshwater pond simulation with Rayeligh number Ra_1=5e6, output as hdf5 files, with dimensionless temperature, velocity components, pressure, and gradients; see above sources for details of non-dimensionalisation) are in a sequence of files of the form:
FreshRa5000000snapshots_sN.h5
where N=1,…,16
(N.B. data above contains a limited subsequence of output used in the movie S2, produced after a spin up period of 300 dimensionless time units).
A version of the bash scripts and python code used to generate these files is available as:
multirunfresh.sh
2d_melt_ra.py
merge.py
clearall.sh
(N.B. these scripts require a functioning installation of Dedalus to run, see  http://dedalus-project.org/index.html for information on installing and using Dedalus). 

An image stack for the movie can be produced using the MATLAB script:
pondmovieGRLS2.m
N.B. need to configure path to point to the source files. 
Movies were then compiled using ffmpeg (e.g. in Mac OS X 10.11.6):
ffmpeg -pattern_type glob -i '*.png' -vcodec libx264 -r 20 -crf 18 -pix_fmt yuv420p out.mp4

- Simulation output associated with movie S3 (20psu saltwater pond simulation with Rayeligh number Ra_1=1e7, output as hdf5 files, with dimensionless temperature, velocity components, pressure, and vertical gradients of key quantities; see above sources for details of non-dimensionalisation) are in a sequence of files of the form:
Salty20psuRa10000000snapshots_sN.h5
where N=1,…,16

A version of the bash scripts and python code used to generate these files is available as:
multirunsalt.sh
2d_melt_ra_salt.py
merge.py
clearall.sh
(N.B. these scripts require a functioning installation of Dedalus to run, see  http://dedalus-project.org/index.html for information on installing and using Dedalus). 

An image stack for the movie can be produced similarly to above, using the MATLAB script:
pondmovieGRLS3.m
N.B. need to configure path to point to the source files.