Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Andover #192

Merged
merged 841 commits into from
Mar 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
841 commits
Select commit Hold shift + click to select a range
41ec172
Update CONTRIBUTING.rst
Jan 5, 2019
2d69267
Failed to fix calendar resetting bug, but handles 5/1/1957 release ti…
Jan 5, 2019
93c1c44
Updated license
Jan 7, 2019
f65cb31
reduced title fontsize slightly so two sounding titles can fit
Jan 7, 2019
b0c4675
Modified datasource handling in Calendar
Jan 7, 2019
9ca41a7
Bug fix where map draw would lag behind data selection
Jan 7, 2019
715c1f1
bug fix with parentWidget for SARS
Jan 9, 2019
1ea4d9f
Bug fix for advanceTime and SARS analogs
Jan 9, 2019
d610d78
Repaired format of SARS Supercell raw sounding files.
Jan 10, 2019
a13e385
Removed print statments from profile.py
Jan 10, 2019
5f355bf
Added a script that can be used to test the SARS calibration
Jan 10, 2019
c681828
removed sars cal check from coverage
Jan 10, 2019
1c8b927
Changed test_binary to work differently
Jan 10, 2019
b2d7f1d
Fixing TravisCI errors
Jan 10, 2019
33e44e9
Fixed syntax error in full_gui
Jan 10, 2019
430293f
Attempting to fix TravisCI issues
Jan 10, 2019
1a05f1b
Trying to find out CWD of test_binary on CI py27
Jan 10, 2019
17adcca
Modified TravisCI to skip binary test on py27
Jan 10, 2019
0e00fe3
Added new command line args to full_gui.py
Jan 10, 2019
bbd91fb
Updated docs
Jan 11, 2019
5187fdc
Removed print statement in doCopy
Jan 11, 2019
dcd6be6
Made data_source and .xml handle the start and end times of data for …
Jan 11, 2019
1d0d7c2
Renamed SARS cal script
Jan 11, 2019
525f06a
Updated comments in SPCWindow
Jan 11, 2019
96344ed
Added SHERBE calculation to ConvectiveProfile
Jan 11, 2019
3cbb28e
created new tests for winds, GUI, SARS, and binaries
Jan 11, 2019
4ca8cb0
removed inquality that was causing deprication warning
Jan 11, 2019
30d91bf
updated import statement
Jan 11, 2019
103dd2f
Bug fix for trying to plot masked value critical angle in hodo
Jan 11, 2019
1e6fc7d
Added tests for ProfCollection in test_decoders
Jan 11, 2019
07ee41c
updated coveragerc to include runsharp and datasources for testing
Jan 11, 2019
faec5be
Added some comments to test_binary
Jan 11, 2019
8484383
Enabling Appveyor pytests
Jan 11, 2019
8aa85f1
removed coverage from appveyor tests
Jan 11, 2019
867e45b
Fixed Windows-only AttributeError bug in fire.py
Jan 11, 2019
f2ed025
Made test images artifacts for inspection
Jan 11, 2019
8c48b26
Added __init__.py to runsharp to see if this helps imports on test
Jan 11, 2019
c10817c
Updated environment.yml
Jan 11, 2019
f8c0340
Testing cmd line util to make test artifact
Jan 11, 2019
2de2820
Added install of requests package from conda - maybe fix import error…
Jan 11, 2019
2baa231
removed nose install in ci/install
Jan 11, 2019
91c9284
Added dateutil to conda install on CI
Jan 11, 2019
9297c50
Trying the appveyor screen resizing script
Jan 12, 2019
cea6772
Fixed dependency to python-dateutil b/c TravisCI failing
Jan 12, 2019
e3fb8df
Added Azure CI yml
Jan 12, 2019
72859ff
Trying to get Azure to load
Jan 12, 2019
29c8bdc
Trying to fix syntax
Jan 12, 2019
e830e43
Trying to get Azure to install packages
Jan 12, 2019
8255276
telling azure to use conda-forge
Jan 12, 2019
adb81db
Fixed pip install
Jan 12, 2019
9d4bf33
Trying to get SHARPpy installed on Azure
Jan 12, 2019
22a4c6d
Forcing install via sudo
Jan 12, 2019
65b2d69
Added setuptools and more sudo
Jan 12, 2019
1db172a
Trying to get install across all OSes on Azure
Jan 12, 2019
1e0d353
Fixing conda permissions
Jan 12, 2019
d0f5d96
Trying again
Jan 12, 2019
6f54cc5
Fixed conditionals
Jan 12, 2019
70e6679
trying to fix permissions of entire miniconda directory
Jan 12, 2019
2fe5834
Trying new script format
Jan 12, 2019
57ec250
New script format worked to install
Jan 12, 2019
e7fd6e8
Testing Azure Linux OS
Jan 12, 2019
7b513fa
Stopping test of UWYO decoder so Windows Azure works
Jan 12, 2019
cc2e6b0
test decoders split up and try except in uwyo for Azure
Jan 12, 2019
6fe6e47
Trying to get Linux OS working:
Jan 12, 2019
1ba2105
Windows should pass now
Jan 12, 2019
427ef11
starting Xvfb on Linux Azure
Jan 12, 2019
a72fd1e
test publish gui images
Jan 12, 2019
fca176c
fixed syntax error
Jan 12, 2019
7c096f8
trying publish of artifacts
Jan 12, 2019
d650f58
trying artifact deploy
Jan 12, 2019
df71071
Testing Azure to handle different screen sizes
Jan 12, 2019
b4ae265
Testing setting screen res on AzureCIs
Jan 12, 2019
d55ab67
Trying to get windows screen resolution to change
Jan 12, 2019
35fa42d
Trying to switch screen res on Windows and Mac
Jan 12, 2019
8b80a19
trying to see if this windows images supports resolution changes
Jan 12, 2019
c80cc6e
Trying to run powershell screen res change
Jan 12, 2019
b334dd5
Removed quote from yml
Jan 12, 2019
934ddaf
Added comments to azure yml
Jan 12, 2019
02f4f75
Updated README to have Azure badge and new dependencies
Jan 12, 2019
0e39105
Updated install to have new dependencies
Jan 12, 2019
8a2f4ce
Updated conda recipe and setup.py to handle dependencies
Jan 12, 2019
03ed4b8
added README to ci directory for other developers
Jan 12, 2019
82457c9
Updated CHANGELOG and ci/README
Jan 12, 2019
9b591f5
Trying to fix the cd dist issue
Jan 16, 2019
5b1a3ec
trying to fix deployment pipeline
Jan 16, 2019
1ab3858
removed print statments from hodo.py
Jan 17, 2019
eb00b71
Added uwyo_decoder to io __init__
Jan 17, 2019
1b33954
updates to .spec - not working for OSX
Jan 17, 2019
93fb378
No significant changes to SHARPpy.py...just line ending adjustment
Jan 17, 2019
9db4f00
tried to reformat meta.yaml - conda still not building
Jan 17, 2019
29f0700
Modified build_docs to install sphinx differently
Jan 17, 2019
34a7730
Changed version string in .travis.yml
Jan 18, 2019
d142a7e
Got conda-build working again
Jan 18, 2019
ffa983b
testing deploy for docs and conda on TravisCI
Jan 18, 2019
42e63db
Cleaning up docs and conda build...test docs
Jan 18, 2019
5fcb734
Updated .spec files to handle versioneer
Jan 18, 2019
f073004
updated ver_updates imports
Jan 18, 2019
8588c8e
Troubleshooting binary build on appveyor
Jan 18, 2019
50c4ff1
moved pyinstaller to after_test in appveyor
Jan 18, 2019
914fe45
Trying to revert to the older appveyor versions when it worked
Jan 18, 2019
2cba2e8
try to build win binary on azure
Jan 18, 2019
ed2fe2d
Testing deployment to Github Releases using Azure
Jan 18, 2019
430d787
Fixed issue with Azure .yml
Jan 18, 2019
e68c691
Trying again
Jan 18, 2019
a9b278c
testing azure deploy using azure-test tag
Jan 18, 2019
f79066f
Changing repo name in azure yml - test
Jan 18, 2019
52fcec2
Trying to deploy zip files of binaries using Azure
Jan 18, 2019
4deda37
fixed azure-pipelines.yml formatting issue
Jan 18, 2019
052c8a5
Test: Azure CIs wait for all artifacts, publish pytest results, debug…
Jan 18, 2019
45d6a6c
Fixing pytest call and artifacts waiting script
Jan 18, 2019
25bb133
New tests for azure for deployment
Jan 18, 2019
2a78bd4
Changed build path in copy
Jan 18, 2019
dd15cc5
Modified some scripts - trying to get PyInstaller to see Pyside, etc.
Jan 18, 2019
c1d16e3
Fixed import error in Windows spec
Jan 18, 2019
7a1df6c
testing install to see if it helps pyinstaller build binaries
Jan 22, 2019
77a8aed
CI Test: Running pyinstaller from inside runsharp
Jan 22, 2019
1563b55
spec file ignores __pycache__ and install python.app on Azure OS X
Jan 22, 2019
c0d2c45
Fixed icons path and permissions issue with installing python.app
Jan 22, 2019
a294104
Fixing zipping path on Win and trying to get OSX to recognize Python.app
Jan 22, 2019
b14ebe9
Installing python.app directly to conda env and fixing build artifacts
Jan 22, 2019
02aced1
Binaries still not being built correctly
Jan 22, 2019
a88967d
trying something new
Jan 22, 2019
d61f59f
Trying to get python.app to stay installed
Jan 22, 2019
62a7a7c
installing python.app from anaconda
Jan 22, 2019
c8a80f2
Testing deployment - changing path in .spec
Jan 22, 2019
43fc017
Testing build on azure pipelines again
Feb 12, 2019
0d4af32
Fixed bug in spec
Feb 12, 2019
fbec0be
Changed image of windows
Feb 12, 2019
c2bc5ce
Changed image of windows
Feb 12, 2019
2c2d36e
Changed image of windows
Feb 12, 2019
ae6f43b
Changed win install
Feb 12, 2019
fc27d63
Trying to use different conda syntax in Azure
Feb 12, 2019
f2cb91d
Adding conda to PATH in Azure
Feb 12, 2019
46a47b1
Fixing env.yml
Feb 12, 2019
434dd47
changing azure install method
Feb 12, 2019
95b09af
Forcing environment.yml to be py34
Feb 12, 2019
0dba084
Forcing environment.yml to be py36
Feb 12, 2019
22e3563
New icons
Feb 27, 2019
b84c6e0
Changed install to include a note about binaries
Sep 12, 2019
888b2bf
Submit tests to azure
Sep 12, 2019
8ac0893
Merged from andover
Sep 12, 2019
d59336a
environment.yml works to create SHARPpy dev environ
Sep 12, 2019
e761bce
Removed pyside1 dependency from setup.py
Sep 12, 2019
61a09b3
Tried making title font larger
Sep 12, 2019
b2bcb27
Fixed some of the full_gui syntax issues with Pyside2
Sep 12, 2019
696c3a9
Tested azure-pipelines
Sep 12, 2019
23e6fbc
Hopefully fixed continuous integration stuff
Sep 12, 2019
d34ea02
Fixing Travis CI install script to support PySide2
Sep 12, 2019
4585a09
Turned off display on Travis CI
Sep 12, 2019
f340292
Removed sphinx-gallery because Qt was conflicting with PySide2
Sep 12, 2019
7bc3147
Updated conda recipe to include PySide 2
Sep 12, 2019
dbcc7e9
Updated azure-pipelines to fix macOS binary artifact and output scree…
Sep 12, 2019
c7b80c1
Merge pull request #172 from wblumberg/andover
Sep 12, 2019
329ee30
Fixed map viz issue where borders and dots were too large
Sep 12, 2019
950b541
Merge branch 'andover' of https://github.com/sharppy/SHARPpy into and…
Sep 12, 2019
dbe6e32
Removed conda deployments with 32-bit architecture
Sep 12, 2019
fe50259
Trying new workflow for building docs
Sep 12, 2019
ee235cf
Trying to use conda init bash command recommened by Travis
Sep 12, 2019
c3fb146
Changed to source de/activate in build_docs.sh
Sep 12, 2019
bbc1f73
trying to build docs again
Sep 12, 2019
6d8582e
Try to build docs on macOS on Travis
Sep 12, 2019
1535c3b
Trying to source the environment on travis CI now
Sep 12, 2019
b52cbaa
Fixing issue where sharppy wasn't installed so docs couldn't build
Sep 12, 2019
7f80bc6
Trying to build docs again
Sep 13, 2019
0fa8cd1
Fixed syntax error in bash script
Sep 13, 2019
949da80
Trying to build binaries
Sep 13, 2019
ea855d4
Trying to add abs paths in pathex in .spec
Sep 13, 2019
4cd3db8
Removed 'stop' from the osX spec
Sep 13, 2019
bcc3d96
Fix in interp.py using ma.log10 for Issue #168
Sep 13, 2019
ca07012
Updated README to remove extra Numpy
Sep 13, 2019
c6ac43a
Fixed coastlines issue in map
Sep 13, 2019
e382bac
Added extra dummy checks to Profile object
Sep 13, 2019
2710122
Updated docs
Sep 13, 2019
b812657
Took out bash init
Sep 13, 2019
d3e40e0
Disabled appveyor
Sep 13, 2019
b333bf6
Fixed formatting issue with docs
Sep 13, 2019
a21583d
Fixed doc formatting issue
Sep 14, 2019
d1c0366
Updated docs
Sep 14, 2019
0ab26b6
Removed print statements from ver_updates
Sep 14, 2019
7497cd9
Removed extra lines from full_gui
Sep 14, 2019
5bc9f22
Trying new pyinstaller specs to debug binary build
Sep 14, 2019
a71dac7
Updated data sources to include HRRR IEM archive
Sep 16, 2019
7690e09
Updated docs to include IEM HRRR archive
Sep 16, 2019
29d2ae0
Merge branch 'andover' of https://github.com/sharppy/SHARPpy into and…
Sep 16, 2019
7a56b46
This bug somehow hung around - this line is needed to be able to read…
keltonhalbert Sep 16, 2019
cb73446
Merge branch 'andover' of github.com:sharppy/SHARPpy into andover
keltonhalbert Sep 16, 2019
bf7dc12
trying to see if PySide2 from pip fixes windows binary build
Sep 17, 2019
bf67c52
Testing macOS binary creation fix
Sep 18, 2019
0cb4922
Writing URLErrors to log file to debug macOS binary
Sep 20, 2019
505facd
Fixed errors in code.
Sep 20, 2019
93718a9
Trying to connect to SPC using https in standard.xml
Sep 20, 2019
a49ac39
Modifying environment to try to get openssl to work
Sep 20, 2019
8d9ef9a
installing certifi via pip to fix SSL certificate error in macOS binary
Sep 20, 2019
ca27e98
Directed urlopen to cafile from certifi
Sep 20, 2019
5d1f04b
Added certificate verification to decoder
Sep 21, 2019
5a66959
Added exception debug statements for more binary debugging
Sep 21, 2019
f70d4ca
Added logging exception tracking to a few try/excepts
Sep 21, 2019
7576b7f
Removed call to depreciated grabWidget
Sep 21, 2019
12cac82
Added log file auto deletion
Sep 21, 2019
be84648
Removed console=True from .spec in prep for deployment
Sep 21, 2019
114d340
Added pyside2=5.12 from conda to environment to test deployment
Sep 21, 2019
87a419c
Fixed stupid syntax error of else not having :
Sep 21, 2019
cf52d1f
Added dependency of certifi to conda
Sep 21, 2019
b372578
Fixed changelog so docs don't build weird
Sep 21, 2019
ecdfc4b
Updated .spec to handle the rc files (not working yet)
Sep 21, 2019
693f1d7
Azure should use custom environment.yml for Windows build
Sep 21, 2019
7eb7be0
Cut down on Travis CI responsiblities
Sep 21, 2019
3980a2d
Fixed bad call to the Windows environment file
Sep 21, 2019
98027a2
Fixing the conda yml files for CI testing
Sep 21, 2019
05d63fa
Attempting to deploy to conda and stop win binary debug trace
Sep 21, 2019
8b7183a
Test to build & deploy conda package on CI
Sep 21, 2019
7d51110
Changed name of sharppy utils to sutils due to naming issue
Sep 21, 2019
d9630a3
Modifying dependencies for sharppy package
Sep 21, 2019
49415ff
Fixed extra dependency in sharppy meta.yaml (qtpy)
Sep 21, 2019
5c8c62e
Modified docs for upcoming beta release
Sep 21, 2019
9c338ee
Put message about netCDF to logs
Sep 21, 2019
fd8b0c5
building only on tags now
Sep 21, 2019
a5405e2
Set azure pipelines to build only on tagged releases
Sep 21, 2019
1cf83d3
Trying to fix certifi failing to execute error on Win10
Nov 2, 2019
16e4531
Trying to get pyinstaller on macOS to recognize the full_gui again
Nov 2, 2019
2372ae9
Fixing pathex to correct runsharp dir for macOS bin creation
Nov 2, 2019
3a0a93f
Testing py36 for win build and ssl output
Nov 2, 2019
7cfd882
SHARPpy for Win10 binary build working now
Nov 3, 2019
a117d1c
Including *csv and *xml in setup.py package data now
Nov 3, 2019
b7d4076
data_source.py now works w conda and installs .sharppy dir
Nov 3, 2019
0bfa174
Switched tags to false on conda and docs build
Nov 3, 2019
b53e118
Building conda for both py37 and py36
Nov 3, 2019
afbb31c
Building for py36 and py37 now
Nov 6, 2019
143a050
Trying to deploy to conda again
Nov 6, 2019
d1423f4
trying to get conda to have both 3.6 and 3.7
Nov 6, 2019
19b12b4
Fixed binary issue where preferences images weren't loading
Nov 7, 2019
357c6ca
Removed HWT and GOES datasources
Nov 9, 2019
6278c69
Switched travis to only deploy on tags
Nov 9, 2019
361df21
Disabled PyPI and build binaries only on tagged release
Nov 9, 2019
e77dd82
Added a condition to deploy binaries to github if tagged
Nov 9, 2019
4498eb0
Told azure pipelines to build on all tags
Nov 9, 2019
e85e27a
Included tags in azure pipelines
Nov 9, 2019
278699b
Added to documentation about need to delete ~/.sharppy in new version
Nov 14, 2019
9f5d54f
Debug off in Win binaries to address Issue #182 and #178
Nov 14, 2019
e1fd063
Rebuilding new docs and building test Win10 binary
Nov 14, 2019
ddea6f8
Removed command to create screenshot.png
Nov 16, 2019
c15f9d7
Bumped up numpy version to 1.17 in travis and >=1.15 in .yml
Dec 1, 2019
02a0f3f
Switched setup.py numpy requirement to >=1.15 as I don't think 1.17 t…
Dec 1, 2019
c34f936
Updated full_gui.py to force using PySide2 in QtPy
Dec 4, 2019
a7f73db
Merge branch 'andover' of https://github.com/sharppy/SHARPpy into and…
Dec 4, 2019
2242108
Updated install to dissuade people from using pip for now
Feb 25, 2020
7408fc3
Updated install to recommend using conda envrionments
Feb 25, 2020
ebb2637
Updated meta.yaml with versions 1.17 for numpy and at least 3.6 for p…
Feb 25, 2020
0403185
Fixed issues in install.rst
Feb 25, 2020
1b50cdb
Merge branch 'master' into andover
Mar 9, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
66 changes: 66 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#environment:
# matrix:
# - PYTHON_VERSION: 3.6
# MINICONDA: C:\Miniconda3
# ARCH: "64"
# NUMPY_VERSION: "1.15.*"
#init:
# - "ECHO %PYTHON_VERSION% %MINICONDA%"
#
#install:
# - "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
# - conda config --set always_yes yes --set changeps1 no
# - conda update -q conda
# - conda info -a
# - conda env create -f environment.yml
#
# # Install dependencies
# - activate devel
#
# Add to path the current folder
# - "SET PYTHONPATH=%PYTHONPATH%;%CD%"

# Install SHARPpy
# - python setup.py -q install

# Resize the screen
#- nuget restore
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/set-screenresolution.ps1'))
# - ps: Set-ScreenResolution 1366 768

#build: off

# Turning off Test Script for now
#test_script:
# - sharppy examples/data/14061619.OAX
- pytest -v

#after_test:
# - "conda list"
# - "cd runsharp"
# - "pyinstaller SHARPpy-win7-%ARCH%.spec"
# - "cd .."
# - "move dist\\SHARPpy.exe dist\\SHARPpy%ARCH%.exe"

#artifacts:
# - path: "runsharp\\dist\\SHARPpy64.exe"
# name: binary
#
# - path: "*.png"
# name: test images

# - path: "examples\\data\\14061619.png"
# name: test gui

#deploy:
# provider: GitHub
# release: $(appveyor_repo_tag_name)
# auth_token:
# secure: DB6sQwYCM7Dhhy+mjPkMd6kclvw0Sc2wglTJxcTBQue63dtIQRNa1dz/aqJG7Ygc
# artifact: "runsharp\\dist\\SHARPpy64.exe"
# draft: true
# prerelease: true
# on:
# appveyor_repo_tag: true

# Don't deploy because andover-off
45 changes: 45 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[run]
source = sharppy
runsharp
datasources
omit =
*/tests*
_*.py
sharppy/gui.py
sharppy/sounding.py
sharppy/_version.py
sharppy/_sharppy_version.py
sharppy/__git_version__.py
sharppy/viz/draggable.py
sharppy/viz/barbs.py
sharppy/viz/preferences.py
sharppy/viz/generic.py
sharppy/io/arw_decoder.py
runsharp/SHARPpy.py
datasources/available.py
sharppy/plot/*

[report]
exclude_lines =
if __name__ == .__main__.:
logging.debug
def swapInset
def keyPressEvent
def focusPicker
def wheelEvent
def mouseReleaseEvent
def updateReadout
def setReadoutCursor
def setNoCursor
def resizeEvent
def mouseMoveEvent
def mouseDoubleClickEvent
def mousePressEvent
def pix_to
def modifySfc
def getReadoutVal
def showCursorMenu
class SfcModifyDialog
class PWDatabase
def get_profile
def calc_inputs
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sharppy/_version.py export-subst
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ develop-eggs
# Installer logs
pip-log.txt

# Other logs
.cache
*.log

# Unit test / coverage reports
.coverage
.tox
Expand Down
86 changes: 86 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
env:
global:
- PYTHON_VERSION
- DISPLAY_AVAIL
- BUILD_CONDA
- BUILD_DOCS
- BUILD_BINARY
- MPL_VERSION=2.2.3
matrix:
include:
- os: linux
language: generic
env:
- PYTHON_VERSION="3.6" BUILD_CONDA="YES" NUMPY_VERSION=1.17 DISPLAY_AVAIL="YES"
- os: osx
language: generic
env:
- PYTHON_VERSION="3.6" DISPLAY_AVAIL="NO" BUILD_DOCS="YES" NUMPY_VERSION=1.17
- os: linux
language: generic
env:
- PYTHON_VERSION="3.6" BUILD_DOCS="NO" NUMPY_VERSION=1.17 COVERALLS="YES" DISPLAY_AVAIL="YES"

addons:
ssh_known_hosts:
- github.com
- 140.82.113.4

before_install:
- source ci/install.sh
install:
- pip install -e .
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then xvfb-run pytest -v --cov ; else pytest -v --cov ; fi
# If the test script passes, deploy if it's tagged..generate the binaries.
after_success:
# Deploy test information to coveralls
- if [[ "$COVERALLS" == "YES" ]] ; then coveralls || echo "Coveralls upload failed" ;fi
# Build the binary if it's a new tag.
#- if [[ -n "$TRAVIS_TAG" ]]; then source ci/make_binary.sh; fi
before_deploy:
- ls
- pwd
#- if [ "$BUILD_BINARY" == "YES" ] && [ -n "$TRAVIS_TAG" ]; then cd dist; zip -r SHARPpy-osx.zip SHARPpy.app; cd ..; fi
# Ship the binaries to Github and PyPI and conda
deploy:
# Deploy the binaries to Github Releases
# - provider: releases
# api_key:
# secure: upm1CAgyi6Qv+KaHAo/v3mDyaXYSFs+vm0qS1D7IUDapGIhOTfqDgOpS71bFAnM9w+FRc7S3foxmymsHZsK97LVOEqHNibBtSmELVzhv2VHoCfAUnHaOzCi/z4DHx3QKn2ALLymFfG4O7XzSC7urHue9/h9DWy51srokafP3QOnI6sWHkWGOOOv0i13MDzv2RxMza7+PT69bQ2vFk2ujwAthanDySeXyf2kJ7WYj1cuEBfASBs+diVUSqk7FxJO7OQhyLCCn5bSS3Otvg9tkHL8H7WU6JoGHLBoUPDUxCl0KePgie6hZvaJFAlhcJfmSA4NsTQfunFnbHa2rPFPUTLO6RgEbtD0Th85VORmmEeJ8O+GmvZIRBZUiMxPAbb1DXPwI6XtgoFhNiV5rkut4JtL3BgRmAfIdAsvBfNbozgRpHAOpoiIzx/8wan+o73h6K1y+qfQwxBw+cJAL3n0A2M3x7/mpALLf3JLD8E5KKLbp/kedPIF2vKXZ92h85H9AkMopHqLHQGj86M0qHbQyMp6OHR2ivG2K9qqtzAaUNglQrUaQOHeaBZ8ZT7+mhpdhaN1w5fmuYPRchVzyNbM3DtdiUfAGc6adZPUaUktbiIpLigjwS6BO4FALngrI9+M+kk8qHv/zukOiGawzueCDUGc79G/8LI7Q1EKkiqyI+3E=
# file_glob: true
# file: dist/SHARPpy*.zip
# skip_cleanup: true
# on:
# repo: sharppy/SHARPpy
# tags: true
# branch: andover
# Deploy code to conda
- provider: script
script: bash ci/deploy_conda.sh
on:
repo: sharppy/SHARPpy
tags: true
branch: andover
condition: "$BUILD_CONDA = YES"
# Deploy docs to Github Pages
- provider: script
script: bash ci/build_docs.sh
on:
repo: sharppy/SHARPpy
tags: false
branch: andover
condition: "$BUILD_DOCS = YES"
# Deploy the code to PyPI
- provider: pypi
user: sharppy
password:
secure: "qgE7Hef6m9m6xf0CU976z/7KbpSaRIeucwVztsJQQCqP97FMnkb0bL0fhQMoxkVti1VCAuF9FXvWzWBKuKeu+sqP3pEE7GYlTVqq4kN3W55DleVFbyWy3Fyhu+6pRJL168kZg1rCNboX7Xw8RwI0l0r3DiSvjqWSYvOfdabgYlECImS4XjxRYxN2GTDXG3D37soWiBbi7rqDj33fitUHXyJMLdPhtbGs85BStG9Op2aRXibtCH2Lo/EtY7PkWaxY8F5aXrKiufHPvkpow8S2XKD1VdWpHAV+5lO7ai9N8Z9zyogYLzIAfPqHDx6afQWUknRBn8Ot7k4Kt3cBGEhdvtAH8jhZGCmqDPsk1+qgx/OyWK9iiJsvsJWKmTf286AZl5vxO9NH1fZL0LpYQ5XvwrVi83eygLttEOU0I6ggngflJfs5KvfZXmvODdfK4oVzn3mJODbncLoYz1KxNZRPUFWycmkDaPmy2YyPjRnqE1S6SOP1zGVAEO2Leq/lGbB0J18b103oehyp6+t9KnpsoEhPDsr68xKCkKLl5QXVlfGikHJAMVI/CM0Hh8bva6bTNP5Ulsko6vYyvfGlbI0rEW3OJikvh0051M0lS175j3LMGj5Bs1iFZX43KoyebcfqYDtRQdrvigzsRAZoR9BdBAnVZtO5mfFMkrUtIX94Au8="
distributions: sdist bdist_wheel
upload_docs: no
on:
repo: sharppy/SHARPpy
tags: true
branch: andover-off
condition: "$BUILD_CONDA = YESS"

134 changes: 134 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
Change Log
==========

SHARPpy v1.4.0 "Andover" Release
--------------------------------

NEW FEATURES

* User preferences
* Python 3 support
* Can now click and drag the storm-motion vectors, updating all the other insets
* Double click to change which storm motion vector is used for storm-relative calculations
* New readout on the hodograph, coupled to the readout on the Skew-T
* Improvements for southern-hemisphere users
* Storm motion vector is chosen if the SPC-formatted sounding file specifies the latitude and longitude of the input sounding (southern-hemisphere uses the left-mover, northern the right-mover).
* Left-mover vector is used in all other storm-motion dependent functions (e.g., STP insets, SARS).
* Realtime and historical U.S. and international soundings from 1946-now are accessible through the Picker. Soundings include the latitude and longitude.
* IEM BUFKIT sounding archive (data back to 2010 from RUC, NAM, GFS, RAP)
* New documentation and API accessible through Github pages
* Improved documentation online (no longer in README)
* Documentation and sphinx-generated API is pushed to Github Pages with each tagged release.
* Readout cursor can be configured to output other variables (e.g., potential temperature, theta-E)
* Ability to modify surface by changing the surface temperature or dewpoint (mixed layer optional)
* Up/down buttons on keyboard can now be used to flip through the ensemble members plotted in the SHARPpy GUI.
* Logging enabled when --debug flag is enabled.
* GUI now displays alert box when questionable data is requested to be plotted. Users now have the option to choose if they wish to still try to plot the data.
* Continuous Integration (TravisCI, Appveyor, Azure Pipelines) now enabled to test changes, GUI quality, pull requests, deploy docs, deploy binaries to Github, and deploy packages to package managers.
* New versioning system now consistent with PEP-440 (thanks to versioneer).
* Included more scripting examples in docs.
* Deployment to conda and pip with each tagged SHARPpy release.
* Added test scripts to unit test various GUI parts, decoders, and numerical routines
* GUI checks Github Releases to see if the code being run is the current version

BUG FIXES

* Fixed issue with resizing GUI where text would not resize or plots would become decoupled
* GUI now will handle profile objects where all of the wind speed or direction data is missing.
* Fixed an issue where rounding did not happen on the Fire inset
* Fixed bug when convective temperature routine would error if SBCAPE was 0
* Adjusted SWEAT calculation due to issue #153
* Fixed SHERB calculation due to issue #151.
* MBURST was fixed to use VT instead of TT.
* Fixed bug where masked values were getting passed to np.arange
* prof_collection was modified to handle missing ensemble members
* Fixed the incorrect matching criteria for SARS using the MLLCL
* Updated the code to stop SHARPpy from showing nans on GUI
* Fixed unhandled case where Haines index coloring was not activated
* Stopped precip_water() from extrapolating the water vapor profile if missing data is present.
* Mapping and BUFKIT decoder bugs
* Fix for MMP if there are no data points betwee 6 and 10 km.
* Corrected location of sounding data points
* Stopped crashing of program when lapse-rate was calculated using low altitude data
* Tropical projection on mapping.py fixed
* Stopped Excessive Heat hazard type from firing at South Pole soundings
* Fixed bug where user selected soundings would cause an incorrect PWV climatology calculation.
* Hodograph drawing doesn't crash on incomplete profiles
* Fixed bug where missing kwarg wasn't passed on profile copy()
* Fixed fatal bug with boundary motion cursor


SHARPpy v1.3.0 "Xenia" Release
------------------------------

SHARPpy v1.3.0, Xenia Release supports multiple profiles in the Skew-T window and features improvements to the picker map and usability of the Skew-T window.

NEW FEATURES

* Ability to add and remove any data from the sounding picker in the sounding viewer and view it simultaneously.
* Can switch focus between profiles using the spacebar.
* Ability to focus and remove profiles from the Skew-T via the menus.
* Analogue profiles can be focused and removed by the same mechanisms.
* More picker map improvements
* Tropics and Southern Hemisphere maps are now available.
* Ability to recenter the map projection by double-clicking.
* Ability to save map view as the default for when the program loads.
* Installable binaries are available for Mac OS X and Windows
* Interpolation: interpolate profiles to 25-mb intervals for easy graphical modification.
* Skew-T zooming improved.
* Program now loads profiles in the background, decreasing the load time for the Skew-T window.
* Ability to save sounding text to a file.
* New MBURST index added to the sounding window.

BUG FIXES

* Menus now work on Windows and Linux.
* Model profiles compute the correct inferred temperature advection for their latitude.
* Additional error handling for partial profiles.
* Various model forecast points relocated to their proper places.
* Error handling for opening the program without an Internet connection.
* Removed qtpy dependency and unused imports for those using SHARPpy routines in scripts.

SHARPpy v1.2.0 "El Reno" Release
--------------------------------

SHARPpy v1.2.0, El Reno Release, supports and features a new and improved user interface for selecting and interacting with sounding data sources, in addition to new SARS inset interactivity, and numerous backend changes/improvements. Please note that with these changes, the runsharp and datasources folders must not be moved, and must be run in the parent SHARPpy directory.

UPDATES/FIXES

* New pan/zoom map for selecting sounding locations from observed/model data sources
* Northern hemispheric map for global data sources (tropics and southern hemisphere maps coming soon)
* County map zooming for CONUS data sources
* Cursor readout for sounding locations includes station ID, city, and state/province or country
* Map checks the server for currently available points and only displays those that are available
* Bug fixes on selecting model initialization cycles and supports non-synoptic hour observed data
* Stations with special characters now work properly
* Mapping shapefiles have been added to the databases directory
* New XML backend for managing different data sources available to the GUI
* Allows custom configuration for data urls, initialization offset, model dt, forecast range, and point click locations for configured data sources. No tutorial has been generated for this yet.
* New SARS analogue interactivity
* SARS hail and supercell analogues can now be displayed alongside soundings by left-clicking on the analogue in the SARS inset window. It can be removed by right-clicking the skew-t window and hitting reset
* Improved the UI's look and feel on the Windows platform
* Added 0-3 km MLCAPE to the thermodynamics panel
* Fixed the 0-6 km shear and 9-11 km storm-relative wind vectors that are plotted when plotting a boundary motion in the Hodograph window.
* Data decoders have been modified, consolidated, and made more customization-friendly
* Moved the existing Profile object to a BasicProfile object, and made Profile an object that makes no computations upon construction and only stores data
* The "About" menu option (currently only works on OS X) has been updated with a new description and contact info
* Removed accidental SciPy dependency
* An Issue with the PWV climatology crashing on non-US stations has been fixed
* Save image and open user sounding text file functions now default to the user's home directory.
* Microburst Composite (MBURST), Derecho Composite Parameter (DCP), Energy-Helicity Index (EHI), and Severe Weather Threat Index (SWEAT) added to params.py
* Overall stability of the program has been increased.
* Tutorial has been updated to reflect some of the internal changes of the program libraries.
* Custom user sounding text files can now be opened by pressing Ctrl+O on Windows and Linux.

SHARPpy v1.0.0 Beta (AMS 2015 Release)
--------------------------------------

Following the SHARPpy presentation in the Python Symposium at the annual American Meteorological Society meeting, SHARPpy is being released to the public in beta status. Most core functionality is present, but it is being released with a few platform specific known bugs that are still being worked on.

This release features core numerical functionality (thermodynamic and kinematic routines) for scripting and data processing, in addition to graphical user interface functionality and interactivity.

Instructions on how to install and run can be found in the readme.


Loading