From 9cf83cdb5e8b499d3d72b5d19c1cd1207f2d1787 Mon Sep 17 00:00:00 2001 From: "Navid C. Constantinou" Date: Mon, 4 Sep 2023 15:05:05 +1000 Subject: [PATCH] black format --- regional_mom6/regional_mom6.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regional_mom6/regional_mom6.py b/regional_mom6/regional_mom6.py index fb4300cc..f8daa9b6 100644 --- a/regional_mom6/regional_mom6.py +++ b/regional_mom6/regional_mom6.py @@ -341,9 +341,9 @@ def rectangular_hgrid(λ, φ): xarray.Dataset: A FMS-compatible *hgrid*, including the required attributes. """ - R = 6371e3 # mean radius of the Earth + R = 6371e3 # mean radius of the Earth - dλ = λ[1] - λ[0] # assuming that longitude is uniformly spaced + dλ = λ[1] - λ[0] # assuming that longitude is uniformly spaced # dx = R * cos(φ) * np.deg2rad(dλ) / 2. Note, we divide dy by 2 because we're on the supergrid dx = np.broadcast_to(