Split temperature data in two NetCDF

Ask questions or report problems
Francis
Posts: 4
Joined: Mon Nov 01, 2021 3:43 pm

Split temperature data in two NetCDF

Postby Francis » Tue Nov 23, 2021 1:11 pm

Hi,

I have temperature data from 2012 to 2016 inside a NetCDF file and 2016 to 2021 inside another. Unfortunately, the grid system used in those two files are different so I cannot merge them without processing them.

If I use two griddedforcing in my .rvt file for the temperature, how will Raven process the data? Will it read them as continuous data? If no, should I warm start the model with the data from 2012 to 2016 or should I process the NetCDF files to merge them?

Thank you!
Francis

rchlumsk
Posts: 156
Joined: Fri Sep 16, 2016 3:18 pm

Re: Split temperature data in two NetCDF

Postby rchlumsk » Thu Dec 09, 2021 9:49 am

Hi Francis

Unfortunately you will need to merge them into one grid to provide the input for that forcing. If you had different forcings in different grids they could be provided separately with different grid weights etc., but for the same forcing they will need to come from the same netcdf file.

However, this can be done with something like cdo tools to remap one grid to the grid of another without hopefully too much trouble.
https://code.mpimet.mpg.de/projects/cdo

Let me know if you have any other questions.

Cheers,
Rob
Robert Chlumsky
rchlumsk@uwaterloo.ca


Return to “Help & Support”