Commit 70f940da authored by brunner's avatar brunner
Browse files

No commit message

No commit message
parent 4505a812
...@@ -292,8 +292,8 @@ class StateVector(object): ...@@ -292,8 +292,8 @@ class StateVector(object):
# Create members 1:nmembers and add to ensemble_members list # Create members 1:nmembers and add to ensemble_members list
for member in range(1, self.nmembers): for member in range(1, self.nmembers):
rands = np.random.uniform(low=-0.5, high=0.5, size=self.nparams-1) #rands = np.random.uniform(low=-0.5, high=0.5, size=self.nparams-1)
#rands = np.random.uniform(low=-1., high=1., size=self.nparams-1) rands = np.random.uniform(low=-1., high=1., size=self.nparams-1)
rands_bg = np.random.uniform(low=-0.05, high=0.05, size=1) rands_bg = np.random.uniform(low=-0.05, high=0.05, size=1)
# if member == 1 and lag == 0: # if member == 1 and lag == 0:
...@@ -580,9 +580,9 @@ class StateVector(object): ...@@ -580,9 +580,9 @@ class StateVector(object):
#dimparams = ncf.add_params_dim((self.nparams-1)//2) #dimparams = ncf.add_params_dim((self.nparams-1)//2)
dimgrid = ncf.add_latlon_dim() dimgrid = ncf.add_latlon_dim()
#data = mem.param_values[0:11] data = mem.param_values[0:11]
data = 2.*np.ones(11)-mem.param_values[0:11] # unblock this maybe #data = 2.*np.ones(11)-mem.param_values[0:11] # unblock this maybe
print(str(lag),data) # print(str(lag),data)
#data = mem.param_values[0:(self.nparams-1)//2] #data = mem.param_values[0:(self.nparams-1)//2]
savedict = io.std_savedict.copy() savedict = io.std_savedict.copy()
......
Supports Markdown
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