emwinCompareFiles-0.2.8
توضیحات
EMWIN Latency Comparison.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | emwinCompareFiles-0.2.8 |
| نام | emwinCompareFiles |
| نسخه کتابخانه | 0.2.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Katie D'Adamo |
| ایمیل نویسنده | katherine.dadamo@noaa.gov |
| آدرس صفحه اصلی | http://pypi.org/project/emwinCompareFiles/ |
| آدرس اینترنتی | https://pypi.org/project/emwinCompareFiles/ |
| مجوز | LICENSE.txt |
Compare Files provides a way to compare latency and count products,
between two systems with incoming data. In this case, we are comparing
the ingested products on the ESB between legacy and enterprise.
A file from the legacy system is is downloaded via GoogleDrive and
the enterprise file is created from querying the edpdb database.
Both files are CSV.
Typical usage often looks like this::
python database_query.py
python compare_files.py
Input
==============
* Dates for querying the database in the format MM-DD-YYYY
* Name of datafile from legacy system
Prerequisites
==============
* Connection to the current host: {username}@nco-lw-{username}.ncep.noaa.gov
* Python 2.7
* Download legacy file from GoogleDrive:
https://drive.google.com/open?id=1dXkpZ4LxmS_6Sah7GheAnwAZmj7727Fp
* Download AWDS file from GoogleDrive:
https://drive.google.com/open?id=1NP6d3GnNdw4UoWF7-aJlSy8saKwE9sBW
* Install module psycopg2
http://initd.org/psycopg/
* Other modules needed: csv, datetime, re, and time
Output
==============
1. Latency.csv
2. LegacyProductsNotInEnterprise.csv
Troubleshooting
===============
KeyError or ValueError (Product Comparison):
There is likely an error in the legacy data file. Sometimes this is something as simple as the inclusion/exclusion of AM or PM in the timestamp or a leading comma in a column.
Missing Products (order of 500+):
The database is missing data for a date due to an outage, restart, etc.
The AWDS table file is not up to date.
The date range is incorrect.
نیازمندی
| مقدار | نام |
|---|---|
| >=1.1 | Django |
| ==0.1.4 | caldav |
نحوه نصب
نصب پکیج whl emwinCompareFiles-0.2.8:
pip install emwinCompareFiles-0.2.8.whl
نصب پکیج tar.gz emwinCompareFiles-0.2.8:
pip install emwinCompareFiles-0.2.8.tar.gz