The NERACOOS-funded NECOFS FVCOM ocean forecast model of Cascot Bay, run by UMASS Dartmouth.
🌐 View data in browser · 💻 Data access (code) · 📁 NetCDF files · 🌊 NECOFS
Daily NECOFS (Northeast Coastal Ocean Forecast
System) Casco Bay ocean forecast, produced by the University of Massachusetts Dartmouth
School for Marine Science and Technology (SMAST) with FVCOM 5.1, and published here as
cloud-optimized NetCDF files plus a virtual Icechunk store, so the
whole forecast archive opens in about a second as one lazy xarray dataset.
The Icechunk store is virtual: it holds only Zarr metadata and byte-range references to
the NetCDF files in netcdf/. Both are updated together, once per forecast.
node,
nele), 10 sigma layers (siglay) and 11 sigma levels (siglev). Metadata follows
CF-1.11 and UGRID-1.0.In the Icechunk store time is the forecast reference time (one entry per forecast) and
step the lead time, so valid time = time + step. Time-invariant grid variables are stored
once, without a time dimension.
Both formats use chunks of 12 time steps × 19,107 nodes (or 38,072 elements) × 1 sigma layer,
deflate level 4. Fields are bit-rounded before compression: 16 mantissa bits for u/v
and 12 for zeta, temp, salinity, winds and waves (12 bits is about 3 decimal digits).
This is lossy; if you need the provider's full-precision values, contact them.
The links use a gridlook build (with dry/land masking, pending upstream) that reads any store named in the URL.
Use the sliders to change the forecast (time), the lead hour (step) and the sigma layer (siglay).
Required: Python ≥ 3.12, icechunk ≥ 2 (tested with 2.0.5), xarray, zarr. No credentials are needed.
The endpoint_url / force_path_style settings are required because Source Cooperative's
data proxy only supports path-style requests.
Each netcdf/NECOFS_FVCOM_OCEAN_CASCO_FORECAST_YYYYMMDD_br.nc is a self-contained NetCDF4
file for the forecast starting on that date (UTC). sigma_layer / sigma_level in the files
are siglay / siglev renamed to avoid a name clash with their dimensions (the Icechunk
store renames them back). They open directly with xarray:
A daily cron job (process_casco_source_coop.sh)
polls the provider's file; for each new forecast it (1) clips to 144 steps, bit-rounds and
rechunks with NCO ncks, (2) uploads the NetCDF to netcdf/,
and (3) appends a virtual dataset to the Icechunk repository with
VirtualiZarr
(process_casco_source_coop_icechunk.py).
Code and notes: https://github.com/ocean-icechunks/necofs-provider.
tpeak |
| (time, step, node) |
| s |
| peak wave period |
wlen | (time, step, node) | m | mean wave length |
wet_nodes, wet_cells, inundation_cells | (time, step, node / nele) | – | wetting/drying flags |
h | (node) | m | bathymetry (depth below geoid) |
lon, lat, x, y / lonc, latc, xc, yc | node / nele | degrees, m | node and element-centre coordinates |
siglay, siglev | (siglay / siglev, node) | – | sigma coordinates |
nv, nbe, aw0, awx, awy | (three, nele) | – | mesh connectivity and interpolation coefficients |