Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/io/netcdf.py: 83%

6 statements  

« prev     ^ index     » next       coverage.py v7.4.1, created at 2024-02-14 06:37 +0000

1# This file is not meant for public use and will be removed in SciPy v2.0.0. 

2# Use the `scipy.io` namespace for importing the functions 

3# included below. 

4 

5from scipy._lib.deprecation import _sub_module_deprecation 

6 

7__all__ = [ # noqa: F822 

8 'netcdf_file', 'netcdf_variable', 

9 'array', 'LITTLE_ENDIAN', 'IS_PYPY', 'ABSENT', 'ZERO', 

10 'NC_BYTE', 'NC_CHAR', 'NC_SHORT', 'NC_INT', 'NC_FLOAT', 

11 'NC_DOUBLE', 'NC_DIMENSION', 'NC_VARIABLE', 'NC_ATTRIBUTE', 

12 'FILL_BYTE', 'FILL_CHAR', 'FILL_SHORT', 'FILL_INT', 'FILL_FLOAT', 

13 'FILL_DOUBLE', 'TYPEMAP', 'FILLMAP', 'REVERSE', 'NetCDFFile', 

14 'NetCDFVariable' 

15] 

16 

17 

18def __dir__(): 

19 return __all__ 

20 

21 

22def __getattr__(name): 

23 return _sub_module_deprecation(sub_package="io", module="netcdf", 

24 private_modules=["_netcdf"], all=__all__, 

25 attribute=name)