[Work in progress, works fully but will be expanded] Data visualization application/GUI in development in python for the Marine Operations Program at UCLA. Used to depict Ocean temperature along with GPS data ovelayed on a map. Check out the UCLA Marine Operations Program for which this was developed at: https://dept.atmos.ucla.edu/marineops
To setup your environment to run this program, you must first install the following python packages: matplotlib, and cartopy. If you already have any of these installed you can just skip this step. You can use whatever method you'd like to install these packages, but I'm just giving the method I used here. Be patient, as installing some of these packages can take some time. Everytime conda asks you to Proceed([y]/n)?, type in y (read the prompt it gives you and only follow this within reason). An internet connection is required for the setup.
- Make sure you have python installed first
- Install conda (specifically minoconda, although anaconda also works, it just takes longer to install and has unneeded packages) from https://conda.io/miniconda.html.
- Open anaconda (do not close any pop ups while anaconda is being installed as this can cause issues)
- Check that conda.exe and python.exe are installed. If the file locations are not returned, uninstall and reinstall anaconda.exe. In anaconda:
where conda
where python
- Set up your anaconda environment. If you aren't running python 3.6, use whatever version you have (although you may want to update it).
conda create -n name_of_environment python=3.5
It will ask you to active the environment, in which case you must input:
conda activate name_of_environment
(to deactive an active environment, type in: conda deactivate).
- Install cartopy
conda install -c conda-forge cartopy
- Install an updated version of numpy
conda install numpy
- You can now close anaconda.
- Put main.py, DataMapper.py, and SampleData.txt in the same file
- Open up command prompt, powershell, or terminal and navigate to the folder all the above programs are located in (should work using the cd command)
- Make sure you have an internet connection. This application downloads map data from online servers.
- Run the code with:
py main.py
GUI (example displays GPS and salinity):
At the present the code only works with the format used in SampleData.txt. I intend to make it more general purpose so that any combination of GPS data x any other data type can be used. This is a simple fixes that will be improved upon shortly.
Admittedly, there are a lot of steps involved with setting up your environment to run this program, but it allows for the most rapid development of this software.
This program was built based on matplotlib: https://matplotlib.org/users/installing.html#install-requirements, and cartopy: https://scitools.org.uk/cartopy/docs/latest/index.html