Commit graph

39 commits

Author SHA1 Message Date
Shay Carter
018afefee6 More modifications to the source v20 python code
- DataAccessLayer will have more changes to come to re-incorporate MJs changes, but for now, change the THRIFT_HOST to "edex"
- EnumSet has to use collections.abc import instead of collections to be compatible with newer versions of python (3.10)
2023-08-23 12:41:20 -06:00
Shay Carter
29715baccc Replaced all remaining instances of "ufpy" with "awips" 2023-08-23 12:17:46 -06:00
Shay Carter
fd295d2865 First step on bringing over v20 python code
- brought over all the pythonPackages from the following repos/packages:
  - awips2/pythonPackages
  - awips2/edexOsgi/com.raytheon.uf.common.alertviz/pythonPackages
  - awips2/edexOsgi/com.raytheon.uf.common.mpe/pythonPackages
  - awips2/edexOsgi/com.raytheon.uf.common.dataplugin.text/pythonPackages
  - awips2/edexOsgi/com.raytheon.uf.common.dataplugin.grid/pythonPackages
  - awips2/edexOsgi/com.raytheon.uf.common.activetable/pythonPackages
  - awips2/edexOsgi/com.raytheon.uf.common.management/pythonPackages
  - awips2/edexOsgi/com.raytheon.uf.common.dataplugin.gfe/pythonPackages
  - awips2/edexOsgi/com.raytheon.uf.common.dataplugin.radar/pythonPackages
  - awips2/edexOsgi/com.raytheon.uf.common.site/pythonPackages
  - awips2-core/common/com.raytheon.uf.common.auth/pythonPackages
  - awips2-core/common/com.raytheon.uf.common.message/pythonPackages
  - awips2-core/common/com.raytheon.uf.common.localization/pythonPackages
  - awips2-core/common/com.raytheon.uf.common.datastorage/pythonPackages
  - awips2-core/common/com.raytheon.uf.common.pointdata/pythonPackages
  - awips2-core/common/com.raythoen.uf.common.pypies/pythonPackages
  - awips2-core/common/com.raytheon.uf.common.dataaccess/pythonPackages
  - awips2-core/common/com.raytheon.uf.common.dataplugin.level/pythonPackages
  - awips2-core/common/com.raytheon.uf.common.serialization/pythonPackages
  - awips2-core/common/com.raytheon.uf.common.time/pythonPackages
  - awips2-core/common/com.raytheon.uf.common.dataplugin/pythonPackages
  - awips2-core/common/com.raytheon.uf.common.dataquery/pythonPackages
- updated the _init_.py file in dynamicserialize/dstypes/com/raytheon/uf/common to have all the proper elements listed
- started to replace "ufpy" instances with "awips"
  - awips/test/testQpidTimeToLive.py
  - awips/test/dafTests/testWarning.py
  - awips/test/dafTests/testCombinedTimeQuery.py

- will continue the "ufpy" replacement in a separate commit for easier clarity
2023-08-23 11:45:18 -06:00
Michael James
62ddb8ca22 indentation fix 2018-10-17 11:49:45 -06:00
Michael James
8af937a344 methods getRadarProductIDs(), getRadarProductNames() added to DataAccessLayer 2018-10-17 11:03:28 -06:00
Michael James
7a99b9a685 fixing getString for types 2018-10-16 22:27:46 -06:00
Michael James
21e4795b0c best practice import order; avoid return after else 2018-10-16 22:02:17 -06:00
Michael James
027d93ac70 add classnames to awips/dataaccess/__init__.py 2018-10-16 22:01:18 -06:00
Michael James
da55f86dc0 add missing imports 2018-10-16 21:34:14 -06:00
Michael James
1b68f8800c PEP 8 coding standards 2018-10-16 21:33:43 -06:00
Michael James
85680fe96c further cleanup for built-ins and formatting/indentation 2018-10-16 12:35:18 -06:00
Michael James
4ecb997c3e fixing attribute and unit encodings for python3 bytestrings 2018-10-15 16:27:32 -06:00
Michael James
3c580ed1fc Revert "fix getAttribute(s) encoding/decoding, move to PyData"
This reverts commit e133129843.
2018-10-15 15:19:52 -06:00
Michael James
e133129843 fix getAttribute(s) encoding/decoding, move to PyData 2018-10-15 14:51:54 -06:00
Michael James
c7ed7e6242 remove dafTests for unsupported types. cleanup attributes in PyData 2018-10-15 14:10:08 -06:00
Michael James
68e36d400b cleanup PyGeometryData getString()/2 2018-10-15 08:19:21 -06:00
Michael James
16f5198ae9 cleanup PyGeometryData getString() 2018-10-15 08:09:09 -06:00
Michael James
ced7010567 minor header cleanup 2018-10-14 18:10:12 -06:00
Michael James
854d227120 header and class formatting 2018-10-14 17:37:08 -06:00
Michael James
9f55c3d0ef use isinstance() rather than type() 2018-10-14 16:28:05 -06:00
Michael James
5cb83e614d mv SoundingsSupport -> ModelSounding, refactor input times for consistency with DataAccessLayer 2018-10-14 11:20:49 -06:00
Michael James
6b591452dc SoundingsSupport change setEDEXHost->changeEDEXHost 2018-10-11 20:35:48 -06:00
Michael James
9cadfa16b9 docstring sphinx cleanup 2018-10-11 15:16:53 -06:00
Michael James
ecaa7f4515 cleanup readthedoc build warnings 2018-10-11 14:56:26 -06:00
Michael James
211d9479f9 quadruple quotation marks 2018-10-11 14:22:18 -06:00
Michael James
b5fd733e29 doc updates for api pages 2018-10-11 14:18:36 -06:00
Michael James
95649be627 code cleanup in DataAccessLayer 2018-10-11 13:36:03 -06:00
Michael James
14ef8efa0a code cleanup, unused imports, avoid redefining 'filter' built-in 2018-10-11 12:40:38 -06:00
Michael James
354151dd6d Add getMetarObs() and getSynopticObs() to DataAccessLayer 2018-10-11 12:00:10 -06:00
Michael James
60e470c02c more six python version control for encodings 2018-10-09 15:04:11 -06:00
Michael James
dce5a7a25a six.PY conditionals for utf8 encoding/decoding 2018-10-09 14:24:43 -06:00
Michael James
9ed66f22c6 revert all utf-8 encoding/decoding 2018-10-09 09:33:28 -06:00
Michael James
ec6bf0fd79 encode/decode 2018-10-09 09:31:27 -06:00
Michael James
7a88a6d3db code cleanup, rm unused imports, various bug fixes 2018-10-06 08:35:30 -06:00
Michael James
d78b5d5a4d formatting and naming to avoid redefining built-ins 2018-10-06 08:11:25 -06:00
Michael James
5be5677888 PyData, PyGeometryData encoding/decoding fix 2018-10-05 17:11:49 -06:00
mjames-upc
7a2dca5d37 manual fixes 2018-09-06 18:51:43 -06:00
Michael James
f172333430 python3 compliance notebook tested 2018-09-06 12:11:36 -06:00
mjames-upc
c132d638fe initial commit 2018-09-05 15:52:38 -06:00