Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/pypa/gh-action-pyp…
Browse files Browse the repository at this point in the history
…i-publish-1.10.2
  • Loading branch information
lpilz authored Oct 7, 2024
2 parents 19a6d7c + 6208f6f commit 5b657fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: set up conda environment
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
environment-file: ci/environment.yml
init-shell: >-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upstream-dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v4
- name: set up conda environment
id: conda
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
environment-file: ci/environment-upstream-dev.yml
init-shell: >-
Expand Down
4 changes: 2 additions & 2 deletions xwrf/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def _wrf_grid_from_dataset(ds: xr.Dataset) -> Mapping[Hashable, pyproj.CRS | np.
trf = pyproj.Transformer.from_crs(wgs84, crs, always_xy=True)
e, n = trf.transform(cen_lon, cen_lat)

nx = ds.sizes['west_east']
ny = ds.sizes['south_north']
nx = np.float64(ds.sizes['west_east'])
ny = np.float64(ds.sizes['south_north'])
x0 = -(nx - 1) / 2.0 * dx + e # DL corner
y0 = -(ny - 1) / 2.0 * dy + n # DL corner

Expand Down

0 comments on commit 5b657fb

Please sign in to comment.