SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.14935 · 2026

Developing an Offshore Machine Learning Surface Layer Scheme

Susan Dettling, Sue Haupt, Thomas Brummet, Patrick Hawbecker, Branko Kosović, David Gagne

arXiv · PDF

Code that ran

10 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 6 violated it and 0 have no contract verdict; 1 failure of our instrument; 1 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2608.14935.json · badge: /api/ran/2608.14935.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
NOAA-PSL/COARE-algorithm canonical (classifier label)
classifier basis: census
10 ran · 1 no recorded run
FunctionStatusWhere it lives
ComputeEsat Ran
ran, violated the contract we drafted
NOAA-PSL/COARE-algorithm/Python/COARE3.6/coare36vnWarm_et.py
code served (permissive licence) · get_code("24dd0c6dd59dc746")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (4,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# ComputeEsat takes two parameters: T and P
# Looking at the function body:
# - T is used in mathematical operations with numpy functions (exp, multiply)
# - P is used in mathematical operations with numpy functions (multiply)
# Both should be numeric types (int, float, or numpy arrays)

# Create small numpy arrays for T and P
T = np.array([10.0, 20.0, 30.0, 40.0])  # Temperature values
P = np.array([1013.25, 1013.25, 1013.25, 1013.25])  # Pressure values in hPa

ARGS = {
    "T": T,
    "P": P
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (4,) — shape (4,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
find Ran
ran, honoured the contract we drafted
NOAA-PSL/COARE-algorithm/Python/COARE3.5/util.py
code served (permissive licence) · get_code("b640793b8550f234")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family int, shape (3,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a 1-D boolean array
b = np.array([False, True, False, True, True, False])

ARGS = {
    'b': b
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family int, shape (3,) — shape (3,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_txt_file Ran
ran; our contract draft was wrong, not the code
NOAA-PSL/COARE-algorithm/Python/COARE3.5/util.py
code served (permissive licence) · get_code("ae2b564ddde47ce4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile
import numpy as np

# Create a temporary directory and a test file
tmpdir = tempfile.mkdtemp()

# Create a test data file with header
test_file = os.path.join(tmpdir, 'test_data.txt')
with open(test_file, 'w') as f:
    f.write('var1\tvar2\tvar3\n')
    f.write('1.0\t2.0\t3.0\n')
    f.write('4.0\t5.0\t6.0\n')
    f.write('7.0\t8.0\t9.0\n')

ARGS = {
    'path': tmpdir,
    'fil': 'test_data.txt',
    'cols': 3,
    'sep': '\t',
    'hdr': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
noaa_tcode Ran
ran, honoured the contract we drafted
NOAA-PSL/COARE-algorithm/Python/COARE3.5/util.py
code served (permissive licence) · get_code("da01cd4c0f02f8cf")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

ARGS = {
    "ddd": 150,
    "hh": "12",
    "code_str": "1230423"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
psit_26 Ran
ran, violated the contract we drafted
NOAA-PSL/COARE-algorithm/Python/COARE3.6/coare36vn_zrf_et.py
code served (permissive licence) · get_code("b179c964da536055")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (6,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Construct a valid zeta argument
# The function uses zeta in array operations and indexing with np.where
# zeta should be a numpy array with both positive and negative values
# to exercise both branches of the conditional logic

zeta = np.array([-0.5, -0.2, 0.1, 0.3, 0.5, 0.8])

ARGS = {
    "zeta": zeta
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (6,) — shape (6,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
psiu_26 Ran
ran, violated the contract we drafted
NOAA-PSL/COARE-algorithm/Python/COARE3.6/coare36vn_zrf_et.py
code served (permissive licence) · get_code("561535abc14c068b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (6,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function psiu_26 takes a single parameter 'zeta' which should be a numpy array
# It performs various numpy operations on this array including:
# - np.minimum
# - np.multiply
# - np.exp
# - np.where
# - array indexing with boolean/integer indices
# - np.log, np.arctan, np.sqrt
# - exponentiation and arithmetic operations

# Create a small numpy array with both positive and negative values
# to exercise both branches of the conditional logic
zeta = np.array([-0.5, -0.2, 0.1, 0.3, 0.5, 1.0])

ARGS = {
    'zeta': zeta
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (6,) — shape (6,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
qair Ran
ran, violated the contract we drafted
NOAA-PSL/COARE-algorithm/Python/COARE3.5/meteo.py
code served (permissive licence) · get_code("0721dcfe2c3e99c7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import torch

torch.manual_seed(0)

# Analyze qair function:
# - t: numeric, converted to float array via asarray
# - p: numeric, converted to float array via asarray
# - rh: numeric, converted to float array via asarray
# All are used in element-wise operations, so scalars or arrays work

# Create small numeric test values
t_val = 25.0  # temperature in Celsius (scalar)
p_val = 1013.25  # pressure in mb (scalar)
rh_val = 65.0  # relative humidity in % (scalar)

# Also test with arrays to ensure broadcasting works
t_array = np.array([15.0, 20.0, 25.0, 30.0])
p_array = np.array([1000.0, 1010.0, 1020.0, 1030.0])
rh_array = np.array([50.0, 60.0, 70.0, 80.0])

ARGS = {
    "t": t_array,
    "p": p_array,
    "rh": rh_array,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
qsat Ran
ran, violated the contract we drafted
NOAA-PSL/COARE-algorithm/Python/COARE3.5/meteo.py
code served (permissive licence) · get_code("e4914707a50fc15d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (4,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# t and p should be numeric objects (int, float, or array-like)
# The function converts them to ndarrays and performs element-wise operations
# Let's provide both scalar and array inputs to test the function

t_scalar = 15.0  # Temperature in Celsius
p_scalar = 1013.25  # Pressure in mb

t_array = np.array([0.0, 10.0, 20.0, 25.0])  # Array of temperatures
p_array = np.array([1000.0, 1010.0, 1013.25, 1020.0])  # Array of pressures

ARGS = {
    "t": t_array,
    "p": p_array
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (4,) — shape (4,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
qsea Ran
ran, violated the contract we drafted
NOAA-PSL/COARE-algorithm/Python/COARE3.5/meteo.py
code served (permissive licence) · get_code("c48ce18601e6356d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (2,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Set seed for reproducibility
np.random.seed(0)

# Create small numeric arrays for sst and p parameters
sst = np.array([15.0, 20.0])
p = np.array([1013.25, 1010.0])

ARGS = {
    "sst": sst,
    "p": p
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (2,) — shape (2,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
scalarv Ran
ran, honoured the contract we drafted
NOAA-PSL/COARE-algorithm/Python/COARE3.6/coare36vnWarm_et.py
code served (permissive licence) · get_code("25ae08bb9501bcb9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Construct arguments for scalarv function
# The function expects scalar or array inputs for meteorological parameters

# Scalar case (single values)
P0_scalar = 1013.25  # pressure in hPa
tsea_scalar = 15.0   # sea surface temperature in Celsius
tair_scalar = 10.0   # air temperature in Celsius
rh_scalar = 75.0     # relative humidity in percent
zt_scalar = 10.0     # measurement height in meters

ARGS = {
    'P0': P0_scalar,
    'tsea': tsea_scalar,
    'tair': tair_scalar,
    'rh': rh_scalar,
    'zt': zt_scalar
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
coare36vn_zrf_et Not yet run
unverified (harvested, no recorded run)
NOAA-PSL/COARE-algorithm/Python/COARE3.6/coare36vn_zrf_et.py
code served (permissive licence) · get_code("d5c1c2379f53e7f5")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 11 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Turbulent fluxes between the surface and the atmosphere are typically parameterized using empirically fit relationships. Here we test machine learning techniques for fitting the relationship for the offshore environment. To do that, data from three offshore sites are used: the Martha's Vineyard Coastal Observatory (MVCO) air-sea interaction tower, the FINO1 research platform, and the CASPER-West FLIP research vessel deployed off the coast of California. Two machine learning methods were employed: Neural Networks (NN) and Random Forests (RF). Because the observational sites had towers with measurements at different levels, the vertical differences were input as gradients. Models were built for both momentum flux and heat flux. ML models trained at the individual sites were competitive with and in some cases, better than the physically-based COARE-3 model tailored to offshore fluxes. The heat flux ML models generally outperformed the physics-based parameterizations for most metrics, but the results were mixed for momentum flux, with only the site with the most training data (MVCO) producing results better than COARE-3. When the ML models from that site were applied to the other sites, results were degraded from using data from the site being tested. ML models built from data combined from the three sites generally showed improvements for the sites with less available training data. When assessing which variables were most important, the wind speed was most important for momentum flux and temperature gradient for heat flux.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2608.14935")
get_code_for_paper("2608.14935")
have("2608.14935")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2608.14935.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2608.14935.svg)](https://syntology.ai/paper/2608.14935)

Connect an agent — have() is free.