Commit d7b1ce80 authored by Pierre Cazenave's avatar Pierre Cazenave

Fix calculation of net shortwave flux.

parent a80c2e70
......@@ -529,7 +529,7 @@ end
% Calculate the net long and shortwave radiation fluxes.
if isfield(data, 'uswsfc') && isfield(data, 'dswsfc')
data.nswsfc.data = data.uswsfc.data - data.dswsfc.data;
data.nswsfc.data = data.dswsfc.data - data.uswsfc.data;
data.nswsfc.time = data.uswsfc.time;
data.nswsfc.lon = data.uswsfc.lon;
data.nswsfc.lat = data.uswsfc.lat;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment