ocean-forecast-data-preprocess

Analyzes and preprocesses ocean forecast NC files into ordered NPY datasets with JSON metadata.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/lkun45598-lgtm/Ocean-Agent-Auto-Research --skill ocean-forecast-data-preprocess
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocean-forecast-data-preprocess
Source: https://github.com/lkun45598-lgtm/Ocean-Agent-Auto-Research/tree/main/.skills/ocean-forecast-data-preprocess
Command: npx skills add https://github.com/lkun45598-lgtm/Ocean-Agent-Auto-Research --skill ocean-forecast-data-preprocess

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill handles end-to-end preprocessing of ocean forecast NC files, converting them to organized NPY datasets and preparing metadata for model training, while enforcing data integrity and traceability.

Core Features & Use Cases

  • NC→NPY conversion preserving temporal order for time-series forecasting.
  • Variable inspection, validation, and optional masking/static variable handling.
  • Generation of supporting metadata (time_index.json, var_names.json, preprocess_manifest.json) for downstream loaders.
  • Visualization and optional statistics for quality assessment.

Quick Start

Run the ocean forecast preprocessing workflow to convert NC files into organized NPY datasets for training forecasting models.

Frequently Asked Questions about ocean-forecast-data-preprocess

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert ocean forecast NC files to NPY for time-series model training?

This Skill preprocesses ocean forecast NC data into NPY-ready datasets by enforcing strict temporal ordering and variable consistency. It generates time_index.json, var_names.json, and preprocess_manifest.json to ensure data traceability for model training workflows.

What is the best way to validate variable consistency in NetCDF forecast data?

Variable consistency in NetCDF forecast data is validated through data inspection and optional masking of static variables. The Skill enforces variable validation and generates a preprocess_manifest.json to track data integrity for downstream model loaders.

Can I generate metadata files for NPY datasets converted from NC format?

Yes, generating metadata files for NPY datasets converted from NC format is a core feature. The Skill outputs time_index.json, var_names.json, and preprocess_manifest.json to provide complete metadata for downstream model training workflows.

Does this NC to NPY preprocessor handle time-ordered time-series data?

Yes, this NC to NPY preprocessor handles time-ordered time-series data by enforcing strict temporal ordering during the conversion process. It preserves chronological order in the output NPY datasets specifically for time-series forecasting workflows.

What are the limitations of preprocessing ocean forecast data without strict time ordering?

Preprocessing ocean forecast data without strict time ordering breaks temporal consistency for time-series forecasting. This Skill prevents such issues by enforcing strict time ordering and variable validation before generating the final NPY datasets.