Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

h2mare

Latest version: v0.10.4

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: h2ugoparra
0 Stars
0 Forks
4 Versions
464 Downloads
Python Repo language

Scan summary

h2mare was last scanned on 23 Nov 2026 at version 0.10.4. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions; the latest was published on 23 Nov 2026.
  • Findings: No rules fired in version 0.10.4.
  • Downloads: 464 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.10.4 LATEST 23 Nov 2026 No rules fired
0.10.3 9 Nov 2026 No rules fired
0.10.2 9 Nov 2026 No rules fired
0.10.1 6 Nov 2026 Not shown

No rules fired in 0.10.4

Findings

Findings for v0.10.4. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.10.4; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

H2MARE - Geospatial Processing for Climate and Ocean Data

Python PyPI Docs

A Python pipeline for downloading and preprocessing multi-source oceanographic and atmospheric data into analysis-ready formats. H2MARE streamlines the acquisition and harmonization of data from major climate and ocean observation services, optimized for large-scale spatiotemporal analysis.

Features

  • Multi-source data integration: Download and process data from CMEMS, AVISO, and ERA5.
  • Format conversion: Automated conversion from NetCDF/GRIB to optimized Zarr and Parquet formats.
  • Data compilation: Regrid and interpolate multi-resolution datasets to a common grid.
  • Point and geometry extraction: Extract time series for specific locations or spatial features.

Data Sources

H2MARE supports the following data providers. API keys and authentication are required for each.

  • CMEMS — Copernicus Marine Service: satellite and in-situ ocean observations
  • AVISO — Archiving, Validation and Interpretation of Satellite Oceanographic data
  • CDS-ERA5 — ERA5 hourly atmospheric reanalysis (1940–present)

Refer to each provider's documentation for authentication setup before use.

Installation

Prerequisites
  • Python >= 3.11
  • uv — fast Python package and project manager
Install from PyPI
pip install h2mare
# or
uv add h2mare

That installs the pipeline: download, convert, compile, extract, Parquet. The plotting helpers (h2mare.utils.plot, ParquetIndexer.plot) need the viz extra, which adds cartopy, matplotlib and plotly:

pip install "h2mare[viz]"
# or
uv add "h2mare[viz]"
Install from source
git clone https://github.com/h2ugoparra/h2mare.git
cd h2mare
uv sync

Configuration

H2MARE requires two configuration files in your working directory before first use.

1. config.yaml

Defines variables, dataset IDs, bounding boxes, and processing parameters.

Start from config.example.yaml — copy it to config.yaml and edit. It holds four entries chosen to cover the shapes you are likely to need: a plain 2-D daily variable, a 3-D one with depth levels, an hourly packed ERA5 one, and the h2ds entry the compile step writes to.

The repository's own config.yaml configures 16 variables and is a reference, not a starting point — useful for seeing how a particular source is wired up, too heavy to copy wholesale. Every field is documented in the configuration reference.

2. .env
# Path to external or large-capacity storage for processed Zarr files
STORE_ROOT=/path/to/your/storage

# AVISO credentials (required for FSLE, Eddies)
AVISO_USERNAME=your_username
AVISO_PASSWORD=your_password
AVISO_FTP_SERVER=ftp-access.aviso.altimetry.fr

AVISO credentials cross the network in cleartext. The AVISO server offers plain FTP only — it refuses AUTH TLS ("500 AUTH not understood", checked 2026-09-01) — so there is no FTPS option to enable. Use a password unique to AVISO, and prefer running downloads from a trusted network.

CMEMS credentials are configured via the copernicusmarine client. ERA5 / CDS credentials are configured via the cdsapi client. See the CDS documentation for setup.

Note: Both files must be present in the directory where you run h2mare. You can also set the H2MARE_ROOT environment variable to point to a different directory containing them.

Quick Start

# Download and process a single variable for a specific date range
uv run h2mare run -v sst --start-date 2021-01-01 --end-date 2021-12-31

# Multiple variables at once
uv run h2mare run -v seapodym -v mld -v o2 -v chl

# Infer missing dates from the existing store and download what's new
uv run h2mare run -v sst

# Download only (skip Zarr conversion)
uv run h2mare run -v sst --no-convert

# Validate configuration without downloading
uv run h2mare run -v sst --dry-run

# Process all configured variables
uv run h2mare run

# Check the stores for days that went missing without failing anything
uv run h2mare audit --all

Coverage elsewhere in the pipeline is a frontier — a start date and an end date — so a year holding January 1st and December 31st reports itself complete however much is missing in between. audit reads the time axes and reports the holes. See the CLI docs for the value check and for known_gaps, which excludes days the provider never published.

Development

# Run the full test suite
uv run pytest tests/

# Run a single test file
uv run pytest tests/test_zarr_catalog.py -v

# Lint and format
uv run ruff check h2mare/
uv run ruff format h2mare/

Built with

Library Role
xarray N-dimensional labelled arrays and NetCDF/Zarr I/O
zarr Chunked, compressed array storage
dask Parallel and out-of-core computation
polars Fast DataFrame engine for Parquet I/O
duckdb In-process SQL for Parquet overlap resolution and scanning
geopandas Geometry-based spatial extraction
plotly Interactive time-series and spatial visualizations
copernicusmarine CMEMS dataset access
cdsapi ERA5 / CDS dataset access

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests on GitHub.

To report a security vulnerability, please do not open a public issue — see SECURITY.md.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

This project was developed under the framework of COSTA project. This project relies on data from Copernicus Marine Service, AVISO, Copernicus Climate Data Store, and NOAA NCEI. We gratefully acknowledge these organizations for providing open access to their datasets.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases h2mare

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229