Pototype workflows, written in Matlab, related to CBIOMES model input and output. A listing, hopefully up to date, of functions is provided below.
README_set_gudA.mddocuments method to systematically depict model output, includingdiags_set_drwn3.manddiags_set_gudA.m.diags_set_drwn3.mis a standard set of biomass and plankton distribution diagnostics.diags_set_gudA.mis a standard set of biochemistry diagnostics with relevance to primary production.diags_plot_lightfields.mis a standard set of irradiance reflectance diagnostics.diags_plot_planktongroups.mis a standard set of plnakton group diagnostics.
read_slice_155W.mis a Matlab / Octave function that reads in a variable once it has been interpolated to 155W usinginterp_to_155W.minterp_to_155W.minterpolates from model grid to 155W.interp_to_155W_uv.minterpolates velocity to 155W (see C-grid docs).read_surf_maps.m,interp_surf_maps.m, andinterp_surf_maps_uv.mgenerate maps of top layer fields (e.g., 0-10m or 5m depth average).
cci_Rrs_tests.mconverts irradiance reflectance output to remotely sensed reflectances and interpolate toCCIwavelengths (0D and 2D tests).cci_Rrs_remap.mreads in OC-CCI data (netcdf files, sinusoidal grid), remaps it to llc90 grid (using bin-average, binary file).cci_Rrs_vs_model.mcompares regridded OC-CCI data fromcci_Rrs_remap.mwith model as incci_Rrs_tests.m.cci_PostProcessModelOutput.mconverts monthly model output to daily OC-CCI Rrs (6 wavebands).cci_CompareModelData.mplot maps of model and CCI sample averages, model-data difference maps, and time series of model vs dara stats.
eccov4_climplot.mgenerates maps and sections of the physical ocean state variables (MLD, T, S, U, V,...).llc90drwn3_ptravrg.mtime averages tracer model output.llc90drwn3_ptrplot.mplots time-averaged tracer output.runSamples.mdemo script to interpolate and create NetCDF files for different types of output formats.addLineAvailDiag.madds line to available_diagnostics.log file.
PTRACERS_names.mlookup table for tracer actual names.PTRACERS_varnames.mlookup table for tracer internal code names.PTRACERS_units.mlookup table for tracer variable units.PTRACERS_ranges.mlookup table for tracer variable ranges.
cs510readsample.mreads cs510 grid and sample output.cs510readmeta.mreads cs510 sample output format.cs510readtiles.mreads cs510 tiled output format.
Top50mAveBiomass.m,calcTop50AveBiomass.msums biomass and chlorophyll over all plankton types and average over top 50m.runCalAveBiomass.mscript to calculate Average Biomass for cs510 data, interpolate, and output as NetCDF.calcShannon.mcalculates Shannon Index.calcSum.mcalculates a sum of given fields.calcIntegralFull.mcalculate full depth integral of a field.
runGroups_cs510.mdriver script for calculating new fields, interpolating, and saving to group directoriessetup_pathsflds_cs510.mscript that defines which fields to calculate, interpolate, and groupsubmit.shsubmission script