SPHY Manual - All versions
  • 📚Readme
  • manual
    • SPHY manual 3.1
      • Introduction
      • Theory
        • Background
        • Modules
        • Reference and potential evaporation
        • Dynamic vegetation processes
        • Snow processes
        • Glacier processes
        • Soil water processes
        • Soil erosion processes
        • Routing
      • Applications
        • Irrigation management in lowland areas
        • Snow- and glacier-fed river basins
        • Flow forecasting
        • Soil erosion and sediment transport
      • Installation of SPHY
        • Installing SPHY as a stand-alone application
          • Miniconda
          • SPHY v3.1 source code
      • Build your own SPHY-model
        • Select projection extent and resolution
        • Clone map
        • DEM and Slope
        • Delineate catchment and create local drain direction map
        • Preparing stations map and sub-basin.map
        • Glacier table
        • Soil hydraulic properties
        • Other static input maps
        • Meteorological forcing map series
        • Open water evaporation
        • Dynamic vegetation module
        • Soil erosion model input
          • MMF
          • Soil erosion model calibration
          • Soil erosion model output
        • Sediment transport
      • Reporting and other utilities
        • Reporting
        • NetCDF
      • References
      • Copyright
      • Appendix 1: Input and Output
      • Appendix 2: Input and Output description
      • Appendix 3: Soil erosion model input
        • MUSLE
        • INCA
        • SHETRAN
        • DHVSM
        • HSFP
    • SPHY manual 3.0
      • Introduction
      • Theory
        • Background
        • Modules
        • Reference and potential evaporation
        • Dynamic vegetation processes
        • Snow processes
        • Glacier processes
        • Soil water processes
        • Soil erosion processes
        • Routing
      • Applications
        • Irrigation management in lowland areas
        • Snow- and glacier-fed river basins
        • Flow forecasting
      • Installation of SPHY
        • General
        • Installing SPHY as a stand-alone application
          • Miniconda
          • SPHY v3.1 source code
      • Build your own SPHY-model
        • Select projection extent and resolution
        • Clone map
        • DEM and Slope
        • Delineate catchment and create local drain direction map
        • Preparing stations map and sub-basin.map
        • Glacier fraction map
        • Soil hydraulic properties
        • Other static input maps
        • Meteorological forcing map series
        • Open water evaporation
        • Dynamic vegetation module
        • Soil erosion model input
          • MUSLE
          • MMF
          • INCA
          • SHETRAN
          • DHVSM
          • HSFP
          • Soil erosion model calibration
          • Soil erosion model output
        • Sediment transport
        • Applications
        • Reporting
        • NetCDF
      • References
      • Copyright
      • Appendix 1: Input and Output
Powered by GitBook
On this page
  1. manual
  2. SPHY manual 3.1
  3. Installation of SPHY
  4. Installing SPHY as a stand-alone application

Miniconda

PreviousInstalling SPHY as a stand-alone applicationNextSPHY v3.1 source code

Last updated 1 year ago

First download and install Miniconda from . It is important to ensure that you download the Miniconda3 Windows 64-bit version. You may need to check which version of Python is supported by the PCRaster. Here we use py3.10.0 64-bit version. It is not mandatory to change the destination folder for Miniconda but we prefer to install it in ‘C:\Miniconda’. Note you need to create the Miniconda folder (see below).

After Miniconda installation check if the following paths have been added to the system environment. If paths were not added then add the followings to the ‘Path’ in system environment variables

C:\Miniconda\Scripts

C:\Miniconda

C:\Miniconda \Library\bin

To add this path, open control panel and search for ‘edit the system environment variables’ (see below).

A new window will popup. Click on Environment variables.

In the System variables tab click on Path and edit it.

Open command prompt by typing ‘cmd’ in search bar of windows. A command prompt will open. Type ‘conda’ and it will populate the command prompt screen with the following commands.

From the command prompt type ‘activate C:\Miniconda’

To run SPHYv3.1 several packages need to be installed so we need to install the specific version of Python and the other dependent packages. This process takes a bit of time. Type:

conda create --name pcraster -c conda-forge python pcraster spyder matplotlib pandas netCDF4 scipy pyproj

In case error messages related to missing packages appear when trying to run the SPHY model, the missing packages can be installed separately.

Add additional packages (if needed):

conda install --name pcraster -c conda-forge pandas

https://docs.conda.io/en/latest/miniconda.html
Figure 18: Installation of Miniconda
Figure 19: Finding the environment variable.
Figure 20: Setting the Path variable.
Figure 21: Copying the path.
Figure 22: Checking if conda works.