ODL Forums
FAQ - Printable Version

+- ODL Forums (https://forum.oceandatalab.com)
+-- Forum: SWOT (https://forum.oceandatalab.com/forum-3.html)
+--- Forum: SWOT Simulator (https://forum.oceandatalab.com/forum-4.html)
+--- Thread: FAQ (/thread-2.html)



FAQ - Lucile Gaultier - 2018-07-11

How to get the simulator

Code:
   git clone https://github.com/SWOTsimulator/swotsimulator.git



How to maintain your version of the simulator to get the last stable version

Code:
    git checkout master
    git pull origin master



How to get the last version in development 

Code:
   git checkout develop
   git pull origin develop



How to download the example data

WARNING: we had to remove the example data from the input_field  directory as we can't (and don't want to) git data that are too large. This data are available under this link: https://swot.jpl.nasa.gov/data/simulator/swotsimulator_largedata.zip

Before running the example:
  • click on swotsimulator_largedata.zip to download the data,
  • unzip the downloaded zipped document,
  • copy everything from the unzipped directory into example/input_field directory
Note that you only have to do that once when you clone the git swotsimulator repository. Updating the code by doing a git pull won't modify the example data files.