Commit 1c375732 authored by Maximilian Schanner's avatar Maximilian Schanner
Browse files

Bugfix to commands.

parent 9096e0a9
......@@ -387,6 +387,8 @@ def maps(args):
'''
# set up the points as expected by dsh_basis
z_at = utils.get_z_at(args.res, t=args.epoch)
# BUGFIX: white edges in cartopy
z_at[1] -= 180
# use the core function to get the field
field = core.field(z_at, args.model)
# convert the field if necessary
......
......@@ -336,8 +336,6 @@ def get_z_at(n, R=REARTH, t=1900., random=False):
inds = rng.choice(z_at.shape[1], size=n_ret, replace=False)
return z_at[:, inds]
else:
# BUGFIX: white edges in cartopy
z_at[1] -= 180
return z_at
......
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