I am on a Windows OS.
All of the code from when I open the command window is below, I believe I am using python through the command window but I am unsure. (The file I am trying to open I have copied into the wradlib-data-master folder).
Microsoft Windows [Version 10.0.19042.928]
(c) Microsoft Corporation. All rights reserved.
(base) C:\Users\FiacreRyan>activate wradlib
(wradlib) C:\Users\FiacreRyan>python
Python 3.8.8 | packaged by conda-forge | (default, Feb 20 2021, 15:50:08) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import wradlib as wrl
>>> wradlib.__version__
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'wradlib' is not defined
>>> wrl.__version__
'1.9.1'
>>> filename = '73_20200222_005041.pvol.h5'
>>> f = wrl.util.get_wradlib_data_file(filename)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\FiacreRyan\.conda\envs\wradlib\lib\site-packages\wradlib\util.py", line 596, in get_wradlib_data_file
data_file = os.path.abspath(os.path.join(get_wradlib_data_path(), relfile))
File "C:\Users\FiacreRyan\.conda\envs\wradlib\lib\site-packages\wradlib\util.py", line 587, in get_wradlib_data_path
>>> setx WRADLIB_DATA C:/Users/FiacreRyan/wradlib-data-master
File "<stdin>", line 1
setx WRADLIB_DATA C:/Users/FiacreRyan/wradlib-data-master
^
SyntaxError: invalid syntax
>>>