Data format
NETCDF Sample Files
NetCDF (.nc) files store array-oriented scientific datasets and gridded observations. Use sample NetCDF files to test scientific data inspection, coordinate-variable handling, and cross-tool compatibility.
3 files
All to 1MB
SHA256 verified
Manifest included
Quick facts
Files first
NETCDF Sample Files — Download
Use cases
NETCDF Testing Workflows
Grid Preview and Structure Review
Open Format NETCDFGrid Variant and Compatibility Validation
Open Format NETCDFCompare and decide
NETCDF Format Comparisons
FAQ and reference
NETCDF File FAQ
Checksum Verification
Use checksums to confirm file integrity after download.
shasum -a 256 your_file_name_here
# Compare output with SHA256 values listed above.
Where is the machine-readable manifest?
Use the manifest when you need stable names, SHA256 values, and URLs for automation.
Use in code — curl, Python, Node, wget
Copy any snippet directly into scripts, test suites, or CI pipelines. All URLs are stable and publicly accessible with no auth required.
# Download netcdf_hdf5_compat_sample.nc
curl -L -o netcdf_hdf5_compat_sample.nc \
https://samplefile.com/samples/download/data/netcdf/netcdf_hdf5_compat_sample.nc/
# Or fetch a random NETCDF file
curl -s "https://samplefile.com/samples/api/random?format=netcdf" | jq -r '.download_url'
# Download netcdf_hdf5_compat_sample.nc
wget -O netcdf_hdf5_compat_sample.nc \
https://samplefile.com/samples/download/data/netcdf/netcdf_hdf5_compat_sample.nc/
import requests
# Download a specific file
url = "https://samplefile.com/samples/download/data/netcdf/netcdf_hdf5_compat_sample.nc/"
resp = requests.get(url)
with open("netcdf_hdf5_compat_sample.nc", "wb") as f:
f.write(resp.content)
# Or fetch a random NETCDF file via API
meta = requests.get("https://samplefile.com/samples/api/random?format=netcdf").json()
resp = requests.get(meta["download_url"])
with open(meta["name"], "wb") as f:
f.write(resp.content)
// Download a specific file
const fs = require("fs");
const https = require("https");
const url = "https://samplefile.com/samples/download/data/netcdf/netcdf_hdf5_compat_sample.nc/";
https.get(url, (res) => {
res.pipe(fs.createWriteStream("netcdf_hdf5_compat_sample.nc"));
});
// Or fetch a random NETCDF via the API
const meta = await fetch("https://samplefile.com/samples/api/random?format=netcdf").then(r => r.json());
const file = await fetch(meta.download_url);
// use file.arrayBuffer(), file.body, etc.
# Random NETCDF file (JSON response)
GET https://samplefile.com/samples/api/random?format=netcdf
# All NETCDF files
GET https://samplefile.com/samples/api/files?format=netcdf
# Manifest with SHA256 checksums
GET https://samplefile.com/samples/data/netcdf/manifest.json
# Response includes: name, size_bytes, mime_type, sha256, download_url
Validation Methodology
- Validate extension and MIME detection before processing.
- Benchmark performance with small and larger files.
- Test malformed-input handling and error messaging.
Fixture Matrix
Use the curated NETCDF matrix to choose the right clean, edge-case, and broken fixtures for this format.
Open Matrix