Commit graph

456 commits

Author SHA1 Message Date
tiffanycmeyer13
7d35776d1b
Merge pull request #5 from tiffanycmeyer13/v23
Remove pwd import so notebooks will run on Windows
2025-02-12 10:05:02 -06:00
ucar-tmeyer
c4432a94c0 Remove pwd import so notebooks will run on Windows
When running the notebooks on windows, you get a ModuleNotFoundError: No module named 'pwd'

The code is attempting to import pwd, which is not a module available on Windows systems. The pwd module is specific to Unix-based systems (like Linux and macOS) for user and password management, so we removed it from the following files:

dynamicserialize/dstypes/com/raytheon/uf/common/message/WsId.py
dynamicserialize/dstypes/com/raytheon/uf/common/auth/user/UserId.py
2025-02-12 09:02:11 -07:00
tiffanycmeyer13
ee9fa613cf
Merge pull request #4 from tiffanycmeyer13/v23
Latest updates to python-awips v23 notebooks
2025-02-12 09:47:55 -06:00
ucar-tmeyer
24aead0374 Latest updates to python-awips v23 notebooks 2025-02-12 08:45:54 -07:00
tiffanycmeyer13
a1b84257a2
Merge pull request #3 from tiffanycmeyer13/v23
Updates to notebooks for python 3.12
2025-01-23 15:39:47 -06:00
ucar-tmeyer
b90d7ed5e2 Updates to notebooks for python 3.12
- Fixed datetime deprecation issue with datetime.utcnow() to datetime.now(UTC)
- Fixed deprecations related to numpy 2.0
- Fixed deprecations related to shapely 2.0
- Updated text products that had been consolidated/added

Reference: https://github.com/Unidata/awips-unidata-builds/issues/167
2025-01-23 14:31:31 -07:00
srcarter3
46b347b5b7
Merge pull request #1 from tiffanycmeyer13/v23
Updating local change of component.spec to update Python version path
2024-05-10 09:23:25 -06:00
ucar-tmeyer
f600ccf1d9 Updating local change of component.spec to update Python version path 2024-05-10 14:39:02 +00:00
Shay Carter
a05510bf57 A few more file changes were missing from the v23 merge 2024-05-09 12:14:23 -06:00
Shay Carter
285ce9c776 Update setup.py to reflect new version
- use "x.01" to signify it's not a production release
2024-04-02 12:23:16 -06:00
Shay Carter
6fc73fefc6 First pass at upgrading for v23.4.1 of AWIPS
- several small changes (whitespace/comment) for some python classes
- small changes for init.py that wasn't quite correct in v20
- updated thrift package
- updated a few classes for v23.4.1 changes:
  - QpidSubscriber.py
  - qpidingest.py
2024-04-01 13:25:43 -06:00
srcarter3
c492e79342
Merge pull request #129 from tiffanycmeyer13/v20
Updated component.spec to use new python3.6 folders instead of 2.7
2024-02-12 13:58:02 -07:00
ucar-tmeyer
5b34685ffa Updated component.spec to use new python3.6 folders instead of 2.7 2024-02-12 20:55:30 +00:00
srcarter3
1f138922e1
Merge pull request #128 from srcarter3/v20
Updates to Satellite Imagery notebook to use new template
2024-02-02 16:24:39 -07:00
Shay Carter
71a6e5a68d A few more small updates for the main Satellite Imagery example notebook 2024-02-02 16:22:24 -07:00
Shay Carter
3a2786d272 Updates to Satellite Imagery notebook to use new template
- updated format of notebook to have consistent sections, subsections, table of contents, and resources as other notebooks
- added new preview image for the notebook
2024-01-30 14:26:04 -07:00
srcarter3
f111e0a9b4
Merge pull request #126 from srcarter3/v20
Update environment file to include python-awips
2023-12-12 14:03:46 -07:00
Shay Carter
2d5f6200ad Update environment file to include python-awips 2023-12-12 14:02:52 -07:00
srcarter3
dbaaa124a5
Merge pull request #124 from srcarter3/v20
Small changes for new version
2023-12-12 11:46:29 -07:00
Shay Carter
2791429ca7 Small changes for new version 2023-12-12 11:45:16 -07:00
srcarter3
2458274025
Merge pull request #123 from srcarter3/v20
Bring over latest updated notebook from main branch into here
2023-12-12 10:53:19 -07:00
Shay Carter
1940439ab8 Bring over latest updated notebook from main branch into here 2023-12-12 10:52:17 -07:00
srcarter3
97ab781afe
Merge pull request #122 from srcarter3/v20
Update all v20 notebooks to point at regular edex in prep for the rel…
2023-12-12 10:48:27 -07:00
Shay Carter
d7e1c16219 Update all v20 notebooks to point at regular edex in prep for the release 2023-12-12 10:47:02 -07:00
tiffanycmeyer13
fdfc08bbe9
Merge pull request #116 from srcarter3/v20
Remove change that copied MJ
2023-10-24 14:21:16 -05:00
Shay Carter
008ccd07f5 Remove change that copied MJ
- don't use bufferset in EnumSetAdapter, just keep it as set, works properly that way
2023-10-24 13:16:28 -06:00
srcarter3
31892711eb
Merge pull request #113 from srcarter3/v20
Updated the environment.yml and setup.py files
2023-09-18 14:45:13 -06:00
Shay Carter
02d8198a99 Updated the environment.yml and setup.py files
- remove jupyter_contrib_nbextensions package from environment.yml as this is no longer supported
- update the version in the setup.py file so when installing locally it has v20 associated with it
- remove download link from the setup.py file since it's not correct for the beta
2023-09-18 14:27:01 -06:00
tiffanycmeyer13
d1ad6d1879
Merge pull request #111 from srcarter3/v20
Environment changes for v20 branch
2023-09-13 14:11:33 -05:00
Shay Carter
ad2b46b50e Environment changes for v20 branch
- change the name of the environment to `python-awips-beta20`
- remove the python-awips package from the environment, because it needs to be installed from the local source code
2023-09-13 12:55:55 -06:00
tiffanycmeyer13
5105be28c1
Merge pull request #110 from srcarter3/v20
Small change from MJ for getEnumSet
2023-09-11 14:18:14 -05:00
Shay Carter
0797d070c2 Small change from MJ for getEnumSet
- set has no attribute getEnumSet, use bufferset
- see [this previous MJ commit](e20bf91a32)
2023-09-11 11:58:44 -06:00
srcarter3
853c011507
Merge pull request #109 from srcarter3/v20
Replace type() with isinstance()
2023-08-31 11:23:33 -06:00
Shay Carter
cae26d16c3 Small formatting changes
- mostly brought over from [this MJ commit](d0f18561ea)
- RequestConstraint
  - use fully qualified import
  - replace type with isinstance
  - swap 'null' == value to value == 'null'
  - properly check string object
- DataTime
  - condense many lines into single lines of code
2023-08-31 11:19:42 -06:00
Shay Carter
c33d8022fe Replace type() with isinstance()
- changes were brought over from [MJ's previous commit](9f55c3d0ef)
2023-08-31 10:44:05 -06:00
Shay Carter
a5ee32561e Change all notebooks to point to "edex-beta.unidata.ucar.edu" for this branch 2023-08-24 12:49:20 -06:00
Shay Carter
2244ef22b4 Modify .gitignore
- ignore the python_awips.egg-info file that gets created when you run the local source code
2023-08-24 12:34:03 -06:00
Shay Carter
295792c38b Update init file to include all proper elements 2023-08-24 12:27:42 -06:00
Shay Carter
3c7bd9f0de Final set of changes for v20 python code:
- Brought over all new thrift files... had to untar and unzip the thrift package in awips2-rpm
  - then go into /lib/py/ and run `python setup.py build`
  - then copy all of the files that get put in the subdirectory in /build

- Replaced DataAccessLayer.py with the current one from our v18.1.11 of python-awips
2023-08-23 13:46:12 -06:00
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
cf7b406326 Forgot to note in the previous commit:
- also brought over Thrift changes from
  - awips2-core/edex/com.raytheon.uf.edex.requestsrv/bin/com/raytheon/uf/edex/requestsrv/serialization/thrift
  - awips2-core/common/com.raytheon.uf.common.serialization/bin/com/raytheon/uf/common/serialization/thrift

- also changed ufpy to awips in awips/test/dafTests/testGfe.p
2023-08-23 11:59:58 -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
srcarter3
77a7355896
Merge pull request #105 from srcarter3/main
Revamped version of Forecast Model Vertical Sounding Notebook
2023-07-25 14:30:47 -07:00
Shay Carter
5e3f260770 Revamped version of Forecaste Model Vertical Sounding Notebook
- finished attempt at revamping the notebook using the new template and styling
- also refactored the notebook with functions to make the code more efficient and readable
2023-07-25 13:59:08 -07:00
Shay Carter
b0af9f9456 First pass at updating the forecast vertical model sounding notebook
- still a work in progress
2023-07-05 10:48:15 -07:00
tiffanycmeyer13
b73c37d1aa
Merge pull request #103 from srcarter3/notebook-updates
Upper Air BUFR Soundings notebook
2023-05-30 13:27:03 -05:00
Shay Carter
539bc3c8da BUFR Upper air soundings
- small change to comment about temp and dewpoint unit conversion
2023-05-30 12:25:21 -06:00
Shay Carter
c04b1f3c23 Upper Air BUFR Soundings update
- fix small comment mistake from degrees F to degrees K
2023-05-30 12:16:25 -06:00
Shay Carter
786f4f83db Upper Air BUFR Soundings notebook
- small changes to remove unused parameters
- mention dewpoint as well as temperature
- change the comment about station ID to station elevation
2023-05-25 11:54:03 -07:00