Metadata-Version: 2.4
Name: himawari_hsd2nc
Version: 0.1.0
Summary: Native Himawari HSD to NetCDF converter (ROI-first, no reprojection).
License: MIT License
        
        Copyright (c) 2026 himawari_hsd2nc contributors
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/P-Coke/himawari_hsd2nc
Project-URL: Repository, https://github.com/P-Coke/himawari_hsd2nc
Project-URL: Issues, https://github.com/P-Coke/himawari_hsd2nc/issues
Keywords: himawari,satellite,netcdf,fortran,remote-sensing,ahi
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Topic :: Scientific/Engineering :: Atmospheric Science
Classifier: Topic :: Scientific/Engineering :: GIS
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: xarray>=2024.0.0
Requires-Dist: numpy>=1.24
Requires-Dist: netCDF4>=1.6.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == "dev"
Requires-Dist: build>=1.2.0; extra == "dev"
Requires-Dist: cibuildwheel>=2.20.0; extra == "dev"
Dynamic: license-file

﻿# himawari_hsd2nc

Native Himawari HSD to NetCDF converter (ROI-first, no reprojection).

## Standard Layout

- `src/himawari_hsd2nc/` Python package
- `src/fortran/` backend Fortran/C source + Makefile
- `tests/` Python tests
- `docs/` docs placeholder
- `scripts/` maintainer build/hardening scripts
- `build_tools/linux_runtime_builder/` Linux runtime builder
- `.github/workflows/` CI/CD for wheels and publishing

## Install

End users:

```bash
pip install himawari_hsd2nc
```

Developers:

```bash
pip install -e .[dev]
```

## CLI

```bash
himawari-hsd2nc <input.DAT|.bz2> -o output.nc --bands 1 2 --roi 110 15 130 35
```

## Runtime Build (Maintainers)

Windows runtime:

```powershell
powershell -ExecutionPolicy Bypass -File scripts\build_windows_amd64.ps1
```

Linux runtime (run on Linux host):

```bash
bash scripts/build_linux_x86_64.sh
```

## Wheel Publishing

- Verification CI: `.github/workflows/build-wheels.yml`
- Publish CI: `.github/workflows/publish-pypi.yml`

Release flow:
1. Build/stage platform runtimes.
2. Bump version in `pyproject.toml`.
3. Tag `vX.Y.Z` and push.
4. CI builds platform wheels and publishes.

## Licensing

- Project license: `LICENSE` (MIT)

