This folder contains scripts that gridd and convert quantitative diazotroph variables included in the diazotroph database Eriksson et al. (submitted 2024) DOI to raw dataset: https://doi.org/10.3929/ethz-b-000635803 The first script gridds the data onto 1°x1° monthly and depth levels according to the world ocean atlas. The second script converts the dataframes into netCDF files. The third script compresses the netCDF files. The compression will be done using the function nczip in kryo. NOTE: It might not be a good solution to store data with very few data points as netCDF files, since the less than 1% is going to be data, while the rest only consists of NANs. Dominic Eriksson, 29th of September, 2022.