Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • N nes
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • Earth SciencesEarth Sciences
  • nes
  • Wiki
  • CLI_nc2geostructures

CLI_nc2geostructures · Changes

Page history
Create CLI_nc2geostructures authored Jul 17, 2025 by Luca Rizza's avatar Luca Rizza
Hide whitespace changes
Inline Side-by-side
CLI_nc2geostructures.md 0 → 100644
View page @ c00beaaf
# 🗺️ `nc2mbtiles`
The `nc2mbtiles` command converts an aggregated monthly NetCDF with sectors as variables into daily MBTiles.
## 📌 Usage
```bash
nes nc2mbtiles -i --input_file INPUT.nc -o --output_path output_path -f --mbtiles_file mbtiles_name -gs --geostructure geostructure.geojson
```
Use `-h` or `--help` to view the full list of available options:
```bash
nes nc2mbtiles --help
```
## 🔧 Arguments
| Argument | Description |
|------------------|-----------------------------------------------------------------------------------------|
| `-i`, `--input_file` | Path to the input NetCDF file (required) |
| `-o`, `--output_path` | Path where the mbtiles will be saved (required) |
| `f`, `--mbtiles_file` | Name for the mbtile files, will be used as a prefix for the daily mbtiles (required)|
| `-gs`, `--geostructure` |Optional path to geostructure file, allowing to skip the manual computation. |
## 💡 Examples
### Use case 1: Convert a monthly aggregated NetCDF (outputted from PHENOMENA summary)
```bash
nes nc2mbtiles -i IP_ch4.nc -o /home/processed_data -f IP_ch4
```
### Use case 1: Convert a monthly aggregated NetCDF with optional geojson
```bash
nes nc2mbtiles -i IP_ch4_202401.nc -o /home/processed_data -f IP_ch4 -gs peninsula_2024.geojson
```
\ No newline at end of file
Clone repository
  • Home
  • Tutorials
  • Trainings
  • Development
  • Contribute
  • FAQ