Skip to content
Snippets Groups Projects
Commit 87bc5d50 authored by Luijkx, Ingrid's avatar Luijkx, Ingrid
Browse files

Added noise reduction scheme developed by Remco to the NH gridded statevector

parent 6b366fbc
No related branches found
No related tags found
No related merge requests found
......@@ -101,6 +101,9 @@ class CO2GriddedStateVector(StateVector):
cov = f.get_variable('covariance')
parnr = f.get_variable('parameternumber')
cov_sf = 90.0 / np.sqrt(cov.diagonal().sum()) # this scaling factor makes the total variance close to the value of a single ecoregion
covlim = 15. # limit covariances for small ecoregions, which otherwise give very large uncertainties
if cov_sf > covlim:
cov_sf = covlim
cov = cov * cov_sf
f.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment