Warning
Documentation website under active development. This is not a stable release.
User Guide#
plans is open-source, cross-platform tool that is built on top of Python
and some common dependencies, like NumPy, SciPy, Matplotlib, Pandas and Rasterio.
This means that plans can be run in any operational system, locally
or remotely, as long as Python is installed.
Users are encouraged to run plans under interactive Python environments,
like Jupyter or Colab notebooks. These platforms are very intuitive
for beginners and remove the burden of setting Python environments.
See also
For those who want to contribute to plans, see Development
Installation#
Install as a Python package#
For Python regular users, install the latest package deploy to a Python 3 environment via pip:
python -m pip install copyme
Or any desired branch or version via github url:
python -m pip install git+https://github.com/iporepos/copyme.git@main
On a Jupyter or Colab environment, run this command on a cell:
%pip install plans
Install as a Tool for Windows#
For users seeking only the tool experience in Windows:
Make sure the latest Python 3 is installed and added to PATH: https://www.python.org
Download the installer PowerShell file
install-plans.ps1from the GitHub repository;Right-click the installer file and click the option
Run with PowerShell;Follow the instructions prompted until the end;
Application folder
The application tool will live in C:\Users\{You}\AppData\Local\plans.
To check if the app is alive, open PowerShell and type:
plans check
The output should result in no error or warning.
Projects root
By default, projects for plans will live under C:\Users\{You}\PlansProjects.
Change the projects root location by editing the projects-root.txt file located at C:\Users\{You}\AppData\Local\plans
Update or uninstall
To update the current installation, just install again from the latest version. The existing version will be overwritten.
To uninstall, open PowerShell and type:
plans uninstall
Workflow#
The workflow of plans is based on the concept of project. That
means that all input data required must be organized in a standard file system.
Once all is set, users can run simulations without specifying entries all the time.
Typically, to run plans users may go through the following steps (with some iteration):
Setting up a project
Gather input data. Collect observed and scenario data for an Area Of Interest (
AOI).Pre-process input data. Files must fits into
plansstandards.Organize input data.
plansexpects data of theAOIto be organized in a Project (a standard file system).
Processing data
Use
plansfor data assessments.Use
plansfor parameter estimation.Use
plansfor scenario simulation.
Post-processing
Use extra tools for more visualization and analysis of output data.
Setup#
Projects#
A project in plans is a standard file system that is considered
the root for all operations in a given processing session. Folders and
files names or patterns are pre-defined so plans automatically finds
their existence for processing.
Once data is gathered, users are required to populate the folders of a
project with standard files. For instance, rain data tables of a scenario
must live in the climate folder. Topographical maps must go in the
topo folder, etc.
Working with projects
Check out the Projects page for more details on how to setup projects.
Input data#
Required input data are basically two types of files: tables and raster maps.
Tables are formatted in .csv and raster files are formatted in .tif.
Working with input data
Check out the Files page for more details on how to setup input data.
Tutorials#
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla mollis tincidunt erat eget iaculis. Mauris gravida ex quam, in porttitor lacus lobortis vitae. In a lacinia nisl. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Morbi et tempor sem. Nullam quam dolor, venenatis eget magna ut, accumsan mollis erat.
Hands-on tutorials
Check out the Examples page for hands-on examples.