netCDF4 1.7.2__cp313-cp313-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. netCDF4/__init__.py +41 -0
  2. netCDF4/__init__.pyi +714 -0
  3. netCDF4/_netCDF4.cp313-win_amd64.pyd +0 -0
  4. netCDF4/_netCDF4.pyi +53 -0
  5. netCDF4/_netCDF4.pyx +7401 -0
  6. netCDF4/plugins/empty.txt +0 -0
  7. netCDF4/py.typed +0 -0
  8. netCDF4/utils.py +965 -0
  9. netCDF4-1.7.2.dist-info/DELVEWHEEL +2 -0
  10. netCDF4-1.7.2.dist-info/LICENSE +7 -0
  11. netCDF4-1.7.2.dist-info/METADATA +38 -0
  12. netCDF4-1.7.2.dist-info/RECORD +32 -0
  13. netCDF4-1.7.2.dist-info/WHEEL +5 -0
  14. netCDF4-1.7.2.dist-info/entry_points.txt +4 -0
  15. netCDF4-1.7.2.dist-info/top_level.txt +1 -0
  16. netCDF4.libs/charset-233f44715e5aacaf3a688c2faff5ddf7.dll +0 -0
  17. netCDF4.libs/hdf-a2c6b2bf2154d1ccb038e2378b1f3e85.dll +0 -0
  18. netCDF4.libs/hdf5-0405898c429aca8f311295e18da7f220.dll +0 -0
  19. netCDF4.libs/hdf5_hl-7d9e014e0cb11050006560c382543b4b.dll +0 -0
  20. netCDF4.libs/iconv-936c715fc6e91e2a568dc454b5e2ff49.dll +0 -0
  21. netCDF4.libs/jpeg8-6b0e20ead3f1100ffb122e8d7faaa220.dll +0 -0
  22. netCDF4.libs/libbz2-097a16c5f7181c2bd86fb703e052c623.dll +0 -0
  23. netCDF4.libs/libcrypto-3-x64-284a0cdbc44efce574b9633876ffb8b6.dll +0 -0
  24. netCDF4.libs/libcurl-2c0350ff925d58e298166926e2fc5515.dll +0 -0
  25. netCDF4.libs/libssh2-642910880af00f7127778e6297bc660b.dll +0 -0
  26. netCDF4.libs/libxml2-27ee10ea1a07a176619924d2ef36ef38.dll +0 -0
  27. netCDF4.libs/mfhdf-7299049d0634850dce9f5f21eeb4084f.dll +0 -0
  28. netCDF4.libs/netcdf-0019d4666d3419591252d98a8ed23bb6.dll +0 -0
  29. netCDF4.libs/szip-3d56a7c4d7071ea9c488dbf5cb3c691b.dll +0 -0
  30. netCDF4.libs/xdr-a886920c05e9c51c6546150293f71c53.dll +0 -0
  31. netCDF4.libs/zip-4672775f5aef1bbb8bba773fd1fb567b.dll +0 -0
  32. netCDF4.libs/zlib-7f23bfc78ec073282c4dcefa16c5e7d5.dll +0 -0
netCDF4/__init__.py ADDED
@@ -0,0 +1,41 @@
1
+ # init for netCDF4. package
2
+ # Docstring comes from extension module _netCDF4.
3
+
4
+
5
+ # start delvewheel patch
6
+ def _delvewheel_patch_1_8_2():
7
+ import os
8
+ libs_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, 'netCDF4.libs'))
9
+ if os.path.isdir(libs_dir):
10
+ os.add_dll_directory(libs_dir)
11
+
12
+
13
+ _delvewheel_patch_1_8_2()
14
+ del _delvewheel_patch_1_8_2
15
+ # end delvewheel patch
16
+
17
+ from ._netCDF4 import *
18
+ # Need explicit imports for names beginning with underscores
19
+ from ._netCDF4 import __doc__
20
+ from ._netCDF4 import (__version__, __netcdf4libversion__, __hdf5libversion__,
21
+ __has_rename_grp__, __has_nc_inq_path__,
22
+ __has_nc_inq_format_extended__, __has_nc_open_mem__,
23
+ __has_nc_create_mem__, __has_cdf5_format__,
24
+ __has_parallel4_support__, __has_pnetcdf_support__,
25
+ __has_quantization_support__, __has_zstandard_support__,
26
+ __has_bzip2_support__, __has_blosc_support__, __has_szip_support__,
27
+ __has_set_alignment__, __has_parallel_support__, __has_ncfilter__, __has_nc_rc_set__)
28
+ import os
29
+ __all__ = [
30
+ 'Dataset', 'Variable', 'Dimension', 'Group', 'MFDataset', 'MFTime', 'CompoundType',
31
+ 'VLType', 'date2num', 'num2date', 'date2index', 'stringtochar', 'chartostring',
32
+ 'stringtoarr', 'getlibversion', 'EnumType', 'get_chunk_cache', 'set_chunk_cache',
33
+ 'set_alignment', 'get_alignment', 'rc_get', 'rc_set',
34
+ ]
35
+ __pdoc__ = {'utils': False}
36
+ # if HDF5_PLUGIN_PATH not set, point to package path if plugins live there
37
+ pluginpath = os.path.join(__path__[0],'plugins')
38
+ if 'HDF5_PLUGIN_PATH' not in os.environ and\
39
+ (os.path.exists(os.path.join(pluginpath,'lib__nczhdf5filters.so')) or\
40
+ os.path.exists(os.path.join(pluginpath,'lib__nczhdf5filters.dylib'))):
41
+ os.environ['HDF5_PLUGIN_PATH']=pluginpath