I have a netCDF file that looks like the following:
1 variables (excluding dimension variables):
double BOD_concentration[lon,lat,time] (Chunking: [1,2160,1])
units: mg/l
_FillValue: -9999
long_name: Monthly BOD concentration
3 dimensions:
lon Size:4320 *** is unlimited ***
units: degrees_east
long_name: lon
axis: X
lat Size:2160
units: degrees_north
long_name: lat
axis: Y
time Size:336 *** is unlimited ***
units: month since 1990-01-01 00:00:00
long_name: time
axis: T
The netCDF file contains data from 1990-01-01 to 2017-12-31. I want to create separate netCDF files for each year from 1990 to 2017 and save these files. How can I do that?