Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jswhit committed Jul 3, 2024
1 parent 219651b commit 488f66e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest, macos-12]
#python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
#os: [ubuntu-latest, windows-latest, macos-12]
python-version: ["3.11"]
os: [windows-latest]
steps:
- uses: actions/checkout@v4

Expand Down
4 changes: 3 additions & 1 deletion src/pygrib/_pygrib.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,9 @@ cdef class gribmessage(object):
return longval
else: # array
datarr = np.zeros(size, np.int_)
print('getting long_array',size)
err = grib_get_long_array(self._gh, name, <long *>datarr.data, &size)
print('getting long_array',datarr.min(), datarr.max())
if err:
raise RuntimeError(_get_error_message(err))
if key == 'values':
Expand Down Expand Up @@ -1327,7 +1329,7 @@ cdef class gribmessage(object):
if self.expand_reduced:
lonsperlat = self['pl']
nx = lonsperlat.max()
print(lonsperlat.dtype,lonsperlat,nx)
print(lonsperlat.dtype,lonsperlat.shape,lonsperlat,nx,ny)
datarr = redtoreg(datarr, lonsperlat, missval=missval)
else:
nx = None
Expand Down

0 comments on commit 488f66e

Please sign in to comment.