File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed
Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ package :
2+ name : pycdfpp
3+ version : 0.8.5
4+ top-level :
5+ - pycdfpp
6+ source :
7+ url : https://files.pythonhosted.org/packages/37/08/2b352c2c04028465a242b7fdca069718f235033d423e8c27f77623fe53ec/pycdfpp-0.8.5.tar.gz
8+ sha256 : 6f9116f0446fe5e9d32234ee447e52c564db20055d89576b6d6f3119007d481e
9+ requirements :
10+ run :
11+ - numpy
12+ - pyyaml
13+ about :
14+ home : https://github.com/SciQLop/CDFpp
15+ PyPI : https://pypi.org/project/pycdfpp
16+ summary : " A modern C++ header only cdf library with Python bindings"
17+ license : MIT
18+ extra :
19+ recipe-maintainers :
20+ - jeandet
Original file line number Diff line number Diff line change 1+ from pytest_pyodide import run_in_pyodide
2+ from pytest_pyodide .decorator import copy_files_to_pyodide
3+ import pathlib
4+
5+
6+ _FILE_PATH = str (pathlib .Path (__file__ ).parent / "test_data" / "mms1_asp1_srvy_l1b_beam_00000000_v01.cdf" )
7+
8+ @copy_files_to_pyodide (file_list = [(_FILE_PATH ,"mms1_asp1_srvy_l1b_beam_00000000_v01.cdf" )])
9+ @run_in_pyodide (packages = ["pycdfpp" ])
10+ def test_pycdfpp (selenium ):
11+ import pycdfpp
12+ cdf = pycdfpp .load ("mms1_asp1_srvy_l1b_beam_00000000_v01.cdf" )
13+ assert 'mms1_asp_epoch' in cdf
You can’t perform that action at this time.
0 commit comments