Project

General

Profile

How to sum temperature from different nc files with different temporal resolution

Added by Marco Alves over 3 years ago

Hello

I have two different NC files of temperature with the exact horizontal resolution but different temporal resolution. I need to sum temperature data from one file to the other, but I do not know how to do it. That's the operation I have to do.

file1 = hourly temperature data over 30 years
file2 = daily averages of temperature (365 days)

Tfinal,hourly = Thourly[file1] + Tdoy[file2]

Do I need to create a loop for that, or is there an easier way to calculate that?

I would really appreciate any help you guys can provide me.


Replies (1)

RE: How to sum temperature from different nc files with different temporal resolution - Added by Ralf Mueller over 3 years ago

hi Marco!

do you want to sum up all time steps? or only specific periods like monthly?

    (1-1/1)