Getting Started ================= RASCAL is available to download in PyPi and GitHub. To install RASCAL, it is recommended to create a new environment to avoid possible conflicts with its required dependencies. .. code-block:: console (base) $ conda create --name rascal_env python==3.10 (base) $ conda activate rascal_env Required dependencies ------------------------ RASCAL runs with *Python 3.10*. These are the dependencies of RASCAL: - `numpy `_ == 1.26.4 - `pandas `_ == 2.2.1 - `dask `_ == 2024.4.1 - `xarray `_ == 2024.3.0 - `scipy `_ == 1.13.0 - `tqdm `_ == 4.65.0 - `scikit-learn `_ == 1.4.1.post1 - `seaborn `_ == 0.13.2 - `eofs `_ == 1.4.1 - `cfgrib `_ == 0.9.12.0 - `netCDF4 `_ == 1.7.0 - `matplotlib `_ >= 3.5.5 .. warning:: Some computers have problems with the **cfgrib** library and its **eccodes** dependencies, despite install them, sometimes it raises: **"RuntimeError: Cannot find the ecCodes library"**. To sove this, install the library ecmwflibs in your virtual environment. .. code-block:: console (base) $ conda activate rascal_env (rascal_env) $ pip install ecmwflibs Installation via PyPi ----------------------- RASCAL can be installed via PyPi: .. code-block:: console (rascal_env) $ pip install rascal-ties Installation via GitHub ------------------------- RASCAL can be used via GitHub: .. code-block:: console (rascal_env) $ git clone https://github.com/alvaro-gc95/RASCAL The GitHub repository also contains the following scripts: - ``multiple_runs_example.py`` to automatize running several configurations of similarity methods and pool sizes for various stations and variables. This can be configured through the ``config.yaml`` file - ``projection_example.py`` Mostly the same as ``multiple_runs_example.py``, but including a split in training and testing periods for the PCA, and an added year as a projection onto the training period PCs - ``RASCAL_evaluation.ipynb`` a Jupyter Notebook to plot and validate the reconstructions