This repo contains all code necessary to reproduce the results presented in "Air-sea Heat Flux Observations from a Spotter Buoy," which has been submitted for publication by Galen Egan, Seth Zippel, and Pieter Smit.
The code herein was executed using a Python 3.9.10 interpreter with package versions specified in requirements.txt
The source dataset can be found at this link. After
downloading the data, it should be placed in the data
folder in the project home directory.
The site_conditions.py
script in misc/
requires only the source training dataset. However, other scripts must be run in a particular order to generate data files required for other scripts. In particular:
src/bulk_variables/plot_and_export_bulk_variables.py
will create a plot of all bulk variable estimates and save a new csv atdata/bulk_variable_dataset.csv
- After the bulk variable dataset is generated,
src/bulk_fluxes/calculate_bulk_fluxes.py
will save a few variations ofdata/final_flux_dataset.csv
, some with Spotter-estimated variables replaced by their ASIT equivalents - After the final flux datasets are generated,
src/bulk_fluxes/generate_error_stats_table.py
andsrc/bulk_fluxes/plot_bulk_fluxes.py
can be run to generate Table 2 and Figure 7, respectively.