KKKasra Keshavarz

Kasra Keshavarz

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Kasra Keshavarz has a total of 17 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Implementation and Evaluation of Parallel Computing Approaches for Large‐Domain, Process‐Based Hydrologic Simulations

    by Junwei Guo, Martyn P. Clark, Wouter J. M. Knoben, Kasra Keshavarz, Kyle Klenk, Ashley Van Beusekom, Victoria Guenter, Raymond J. Spiteri

    Process‐based hydrologic simulations in large domains generally require intensive computing resources. In this study, we implement various parallelization approaches within a process‐based hydrologic solver, SUMMA, including the Message Passing Interface (MPI), Open Multi‐Processing (OMP), and the Actor Model, to enable high‐performance computing for large‐domain hydrologic simulations. We provide detailed guidelines on these implementations to assist hydrologists in parallelizing their models effectively. Using a hydrologic simulation over North America as a case study, we compare the scalability, computational cost, input/output performance, and coupling capabilities of these parallel approaches with the original sequential approach. Our results show that the SUMMA‐MPI exhibits linear scaling up to 1,024 cores, whereas SUMMA‐OMP is only recommended for smaller numbers of cores. The MPI approach exhibited a straggler effect, resulting in core utilization of only 80%. To address this, we introduced a load‐balancing calibration based on historical runs, which increases SUMMA‐MPI core usage to 95% and thereby mitigates the straggler effect. With regard to coupling capabilities, MPI is the most effective for large‐scale simulations involving multiple nodes and extensive core counts, supporting strong coupling and synchronization. The Actor Model reveals its excellent fault tolerance that enables automatic modification and recommencement of specific Grouped Response Units (GRUs) rather than restarting the entire simulation in the event of a failure within the simulation. Through this study, the implementation details of multiple parallelization schemes are documented and their advantages and limitations are discussed, which provides parallel computing insights for advancing computational hydrology in the Earth System Science community.

  • Open Access

    Catchment Attributes and MEteorology for Large-Sample SPATially distributed analysis (CAMELS-SPAT): streamflow observations, forcing data and geospatial data for hydrologic studies across North America

    by Wouter J. M. Knoben, Cyril Thébault, Kasra Keshavarz, Laura Torres-Rojas, Nathaniel W. Chaney, Alain Pietroniro, Martyn P. Clark

    We build on the existing Catchment Attributes and MEteorology for Large-sample Studies (CAMELS) dataset to present a new dataset aimed at hydrologic studies across North America, with a particular focus on facilitating spatially distributed studies. The dataset includes basin outlines, streamflow observations, meteorological data and geospatial data for 1426 basins in the US and Canada. To facilitate a wide variety of studies, we provide the basin outlines at a lumped and semi-distributed resolution; streamflow observations at daily and hourly time steps; variables suitable for running a wide range of models obtained and derived from different meteorological datasets at daily (one dataset) and hourly (three datasets) time steps; and geospatial data and derived attributes from 11 different datasets that broadly cover climatic conditions, vegetation properties, land use and subsurface characteristics. Forcing data are provided at their original gridded resolution, as well as averaged at the basin and sub-basin level. Geospatial data are provided as maps per basin, as well as summarized as catchment attributes at the basin and sub-basin level with various statistics. Attributes are further complemented with statistics derived from the forcing data and streamflow and focus on quantifying the variability of natural processes and catchment characteristics in space and time. Our goal with this dataset is to build upon existing large-sample datasets and provide the means for a more detailed investigation of hydrologic behaviour across large geographical scales. In particular, we hope that this dataset provides others with the data needed to implement a wide range of modelling approaches and to investigate the impact of basin heterogeneity on hydrologic behaviour and similarity. The CAMELS-SPAT (Catchment Attributes and MEteorology for Large-Sample SPATially distributed analysis) dataset is available at https://doi.org/10.20383/103.01306 (Knoben et al., 2025).


  • Open Access

    Streamlining configurations of process-based models through extensible and free workflows

    by Kasra Keshavarz, Alain Pietroniro, Darri Eythorsson, Mohamed Ismaiel Ahmed, Paul Coderre, Wouter Knoben, Martyn Clark, Shervan Gharari

    High-resolution and high-complexity process-based hydrological models play a pivotal role in advancing our understanding and prediction of water cycle dynamics, particularly in ungauged basins and under nonstationary climate conditions. However, the configuration, application, and evaluation of these models are often hindered by the intricate and inconsistent nature of a priori information available in various datasets, necessitating extensive preprocessing steps. These challenges can limit the reproducibility, applicability, and accessibility of such models for the broader scientific user community. To address these challenges, we introduce our generalized Model-Agnostic Framework (MAF), aimed at simplifying the configuration and application of data-intensive process-based hydrological models. Through a systematic investigation of commonly used models and their configuration procedures, we provide workflows designed to streamline the setup process for this category of hydrological models. Building on earlier efforts, this framework adheres to the principle of separating model-agnostic and model-specific tasks in the setup procedure of such models. The model-agnostic workflows focus on both dynamic datasets (e.g., meteorological data) and static datasets (e.g., land-use maps), while the model-specific components feed preprocessed, relevant data to the hydrological models of interest. Our initial prototypes of MAF includes recipes for various static and dynamic datasets and also tailored model-specific workflows for MESH, SUMMA, and HYPE process-based modelling frameworks. We demonstrate the effectiveness of these novel workflows in reducing configuration complexity and enhancing the reproducibility of process-based hydrological models through test applications in high-performance computing environments. The framework automates numerous manual tasks, significantly saving time, and enabling continuity in research efforts. Moreover, by minimizing human error and enhancing reproducibility, this research has fostered collaboration with several Canadian government entities, leveraging sophisticated process-based models to address complex environmental challenges.

  • Open Access

    Catchment Attributes and MEteorology for Large-Sample SPATially distributed analysis (CAMELS-SPAT): Streamflow observations, forcing data and geospatial data for hydrologic studies across North America

    by Wouter J. M. Knoben, Kasra Keshavarz, Laura Torres-Rojas, Cyril Thébault, Nathaniel W. Chaney, Alain Pietroniro, Martyn P. Clark

    We present a new data set aimed at hydrologic studies across North America, with a particular focus on facilitating spatially distributed studies. The data set includes basin outlines, stream observations, meteorological data and geospatial data for 1426 basins in the United States and Canada. To facilitate a wide variety of studies, we provide the basin outlines at a lumped and semi-distributed resolution; streamflow observations at daily and hourly time steps; variables suitable for running a wide range of models obtained and derived from different meteorological data sets at daily (1 data set) and hourly (3 data sets) time steps; and geospatial data and derived attributes from 11 different data sets that broadly cover climatic conditions, vegetation properties, land use, and subsurface characteristics. Forcing data are provided at their native gridded resolution, as well as averaged at the basin and sub-basin level. Geospatial data are provided as maps per basin, as well as summarized as catchment attributes at the basin and sub-basin level with various statistics. Attributes are further complemented with statistics derived from the forcing data and streamflow, and have a particular focus on quantifying the variability of natural processes and catchment characteristics in space and time. Our goal with this data set is to build upon existing large-sample data sets and provide the means for more detailed investigation of hydrologic behavior across large geographical scales. In particular, we hope that this data sets provide others with the data needed to implement a wide range of modeling approaches, and to investigate the impact of basin heterogeneity on hydrologic behaviour and similarity. The CAMELS-SPAT (Catchment Attributes and MEteorology for Large-Sample SPATially distributed analysis) is available at: https://dx.doi.org/10.20383/103.01216.