WSWUP / agweather-qaqc

Visualized QA/QC of weather station data
https://wswup.github.io/agweather-qaqc/
Apache License 2.0
19 stars 11 forks source link

pyWeatherQAQC crashes after reading in raw data #10

Closed cferrantelli closed 3 years ago

cferrantelli commented 4 years ago

Hi Christian, I'm having issues getting pyWeatherQAQC to get past reading in the raw data. I'm guessing it's an issue with the data or ini file but can't find what. I sent these files by email. I'm including the packages below as well as the error script. Thanks in advance! -Charlie

(pyweatherqaqc) C:\pyWeatherQAQC>python qaqc_master.py

System: Starting data correction script.

System: Opening config file: config.ini

System: Raw data successfully read in. Traceback (most recent call last): File "qaqc_master.py", line 39, in missing_fill_value, script_mode, generate_bokeh) = input_functions.obtain_da ta(config_path) File "C:\pyWeatherQAQC\qaqc_modules\input_functions.py", line 438, in obtain_d ata data_month = np.array(raw_data[:, month_col].astype('int')) ValueError: invalid literal for int() with base 10: 'nan'

(pyweatherqaqc) C:\pyWeatherQAQC>conda list

packages in environment at C:\Anaconda3\envs\pyweatherqaqc:

#

Name Version Build Channel

anaconda custom py36h363777c_0 bokeh 1.0.4 pypi_0 pypi certifi 2019.3.9 py36_0 conda-forge configparser 3.7.4 pypi_0 pypi datetime 4.3 pypi_0 pypi jinja2 2.10 pypi_0 pypi markupsafe 1.1.1 pypi_0 pypi numpy 1.16.2 pypi_0 pypi packaging 19.0 pypi_0 pypi pandas 0.24.2 pypi_0 pypi pillow 5.4.1 pypi_0 pypi pip 19.0.3 py36_0 conda-forge pyparsing 2.3.1 pypi_0 pypi python 3.6.7 he025d50_1004 conda-forge python-dateutil 2.8.0 pypi_0 pypi pytz 2018.9 pypi_0 pypi pyyaml 5.1 pypi_0 pypi refet 0.3.10 pypi_0 pypi setuptools 40.8.0 py36_0 conda-forge six 1.12.0 pypi_0 pypi tornado 6.0.2 pypi_0 pypi vc 14 0 conda-forge vs2015_runtime 14.0.25420 0 conda-forge wheel 0.33.1 py36_0 conda-forge wincertstore 0.2 py36_1002 conda-forge xlsxwriter 1.1.5 py_0 conda-forge zope-interface 4.6.0 pypi_0 pypi

(pyweatherqaqc) C:\pyWeatherQAQC>pip list Package Version


bokeh 1.0.4 certifi 2019.3.9 configparser 3.7.4 DateTime 4.3 Jinja2 2.10 MarkupSafe 1.1.1 numpy 1.16.2 packaging 19.0 pandas 0.24.2 Pillow 5.4.1 pip 19.0.3 pyparsing 2.3.1 python-dateutil 2.8.0 pytz 2018.9 PyYAML 5.1 refet 0.3.10 setuptools 40.8.0 six 1.12.0 tornado 6.0.2 wheel 0.33.1 wincertstore 0.2 XlsxWriter 1.1.5 zope.interface 4.6.0