|
|
# Reorder Longitudes
|
|
|
|
|
|
Reorders the longitude dimension in a NetCDF file, converting values from [0, 360] to [-180, 180] and shifting data accordingly.
|
|
|
|
|
|
## Syntax
|
|
|
|
|
|
```bash
|
|
|
nes reorder -f <input_file.nc> -o <output_file.nc>
|
|
|
```
|
|
|
|
|
|
## Arguments
|
|
|
|
|
|
- `-f`, `--file` (**required**): Path to the input NetCDF file.
|
|
|
- `-o`, `--output`: Path to the output NetCDF file. If omitted, the input file is not modified in-place.
|
|
|
|
|
|
## Example
|
|
|
|
|
|
```bash
|
|
|
nes reorder -f emissions_360.nc -o emissions_180.nc
|
|
|
``` |