Skip to content

UCLA Marine 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 Marine Operations Program at: https://dept.atmos.ucla.edu/marineops

Notifications You must be signed in to change notification settings

hershey890/UCLA_Marine_Data_Visual

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 

Repository files navigation

logo

UCLA_Marine_Data_Visual

[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

Setup

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.

  1. Make sure you have python installed first
  2. Install conda (specifically minoconda, although anaconda also works, it just takes longer to install and has unneeded packages) from https://conda.io/miniconda.html.
  3. Open anaconda (do not close any pop ups while anaconda is being installed as this can cause issues)
  4. 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
  1. 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).

  1. Install cartopy
conda install -c conda-forge cartopy
  1. Install an updated version of numpy
conda install numpy
  1. You can now close anaconda.

Running the program

  1. Put main.py, DataMapper.py, and SampleData.txt in the same file
  2. 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)
  3. Make sure you have an internet connection. This application downloads map data from online servers.
  4. Run the code with:
py main.py

GUI (example displays GPS and salinity): example data mapping

Other Notes

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.

Acknowledgements:

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

About

UCLA Marine 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 Marine Operations Program at: https://dept.atmos.ucla.edu/marineops

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages