Any views expressed within media held on this service are those of the contributors, should not be taken as approved or endorsed by the University, and do not necessarily reflect the views of the University in respect of any particular issue.

Piccolo3 spectral systems

Piccolo3 spectral systems

Mac Arthur A.(1,2), Hagdorn, M.(1), Taylor R.(3), and Robinson I. (4). (1) GeoSciences, U. of Edinburgh, (2) LEO/IPL U. of Valencia, (3) Physics, U. of Edinburgh, (4) Rutherford Appleton Laboratories

Piccolo3 System User Guide. Section 11. Configure laptop for python3 processing code for *.pico ( json) files

This how-to details piccolo3 *.pico (json files) data processing and has been written by Lena Scheiner and Marika Honkanen at the FMI Research Station Tähteläntie, Sodankylä, Finland 20190509

NOTE path to GitHub still has been added as Bitbucket is no longer available

Step-by-step instructions

  1. Step: copying data
    1. Copy data from to your local computer with the ‘rsync’ command that can copy and synchronize data also from remote systems. From remote (Pi): ‘rsync -avv pi@IP:/mnt/piccolo3_data/ localComputer/data-director’
    2. If you mount usb to your local copmuter: ‘rsync -avv localComputer/usb-directory localComputer/data-directory’
  2. Step: Installation of processing program (on Linux)
    1. First one can install aptitude. It opens a user interface at the terminal where one can look for packages and install them: ‘sudo apt install aptitude’
    2. Do ‘sudo aptitude’. There you can search (/) for, pick (+) the required packages and install (g and g).
    3. The data processing requires python3 and its packages like xarray, numpy, matplotlib, bitarray, scipy. The installation can be done in a virtual environment. Therefore, install the packages virtualenv, mercurial. The final data comes as netcdf file, therefore install netcdf-bin.
    4. Next step is downloading the program from the internet. Open your web browser. Search GitHub for TeamPiccolo (https://github.com/TeamPiccolo). Find the piccolo3-common directory and press the button ‘clone’ on the top right. Copy the command-link.
      1. Next install the program in the virtual environment.
      2. Open a new terminal.
      3. Make a new folder where you want to place the directories with ‘mkdir “foldername”‘.
      4. Go to that folder with ‘cd’.
      5. Make a new source folder ‘mkdir src’.
      6. ‘virtualenv –system-site-packages -p python3 piccolo’ copies python3 packages into your virtual environment.
      7. Activate the virtual environment ‘. ~/”foldername”/piccolo/bin/activate’.
      8. Now there should be (piccolo) at the beginning of the command line. You are in the virtual environment.
      9. Go to the source folder ‘cd src’.
      10. Paste the command-link from bitbucket and execute.
      11. ‘cd piccolo3-common’, go to this folder.
      12. Install the program in your virtual environment beginning with ‘python setup.py’
      13. Go back to the folder src, e.g. with ‘cd ..’
      14. Then change to the folder ‘cd piccolo3-utilst’.
      15. Execute here as well ‘python setup.py’
css.php

Report this page

To report inappropriate content on this page, please use the form below. Upon receiving your report, we will be in touch as per the Take Down Policy of the service.

Please note that personal data collected through this form is used and stored for the purposes of processing this report and communication with you.

If you are unable to report a concern about content via this form please contact the Service Owner.

Please enter an email address you wish to be contacted on. Please describe the unacceptable content in sufficient detail to allow us to locate it, and why you consider it to be unacceptable.
By submitting this report, you accept that it is accurate and that fraudulent or nuisance complaints may result in action by the University.

  Cancel