You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dd70fcb
Browse filesBrowse the repository at this point in the historyBrowse files
authored and
jswhit2
committed
add extra_mode_flag Dataset kwarg for user-defined formats (issue #1490)
Add an extra_mode_flag kwarg to Dataset that is ORed into the mode passed
to nc_open, so files without a magic number can be opened with a
user-defined format (UDF) dispatch layer, such as those provided by the
NetCDF Expansion Pack (NEP). Add NEP_UDF_* module constants (names match
nep.h). Only allowed for plain read-only opens (mode='r', not diskless,
memory or parallel), requires netcdf-c >= 4.10.0.
Add tests for the kwarg (opening an mmCIF file with no magic number) and
for reading GRIB2 with NEP (test/gfs_sample.grb2, the first 3 messages of
pygrib's sampledata/gfs.grb). The NEP read tests are skipped unless the
NEP readers are registered with netcdf-c.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments