From 8b3cd7058c07d3eff1fddd8047dc9eff939514b6 Mon Sep 17 00:00:00 2001 From: Ryan Abernathey Date: Thu, 11 Jul 2019 08:02:35 -0500 Subject: [PATCH] re-added bugfix from #155 which was accidentally overwritten during the release of 0.4.0 --- doc/development.rst | 5 +++++ xmitgcm/llcreader/llcmodel.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/development.rst b/doc/development.rst index 9c1c6249..7d051baf 100644 --- a/doc/development.rst +++ b/doc/development.rst @@ -4,6 +4,11 @@ Development Release History --------------- +v0.4.1 (2019-07-11) +~~~~~~~~~~~~~~~~~~~ + + - Incorporated llcreader bugfix from Spencer Jones + v0.4.0 (2019-07-11) ~~~~~~~~~~~~~~~~~~~ diff --git a/xmitgcm/llcreader/llcmodel.py b/xmitgcm/llcreader/llcmodel.py index 932e7c6a..db3401ce 100644 --- a/xmitgcm/llcreader/llcmodel.py +++ b/xmitgcm/llcreader/llcmodel.py @@ -192,7 +192,7 @@ def _facets_to_latlon_vector(facets_u, facets_v, metric=False): u_rot = (facets_u_drop[:2] + [transform_v_to_u(facet) for facet in facets_v_drop[-2:]]) v_rot = (facets_v_drop[:2] - + [transform_u_to_v(facet) for facet in facets_u_drop[-2:]]) + + [transform_u_to_v(facet, metric) for facet in facets_u_drop[-2:]]) u = concatenate(u_rot, axis=-1) v = concatenate(v_rot, axis=-1)