본문 바로가기
연구 노트/개발환경 구축

WRF toolkit 설치 on Ubuntu 20.04 and 22.04

by Dr. STEAM 2024. 4. 19.
반응형
*** Tested on Ubuntu 20.04.6 LTS, Ubuntu 22.04.3 LTS, MacOS Ventura, MacOS Sonoma, Centos7, Rocky Linux 9, Windows Sub-Linux Ubuntu***
  • Built 64-bit system.
  • Tested with current available libraries on 11/01/2023, execptions have been noted in the script documentation.

 

WRF Multi Operational System Install Toolkit

This is a BASH script that provides options to install the following Weather Research & Forecasting Model (WRF) packages in 64-bit systems:

  • Weather Research & Forecasting Model (WRF)
  • Weather Research & Forecasting Model Chemistry (WRF-CHEM)
  • Weather Research & Forecasting Model Hydro Standalone (WRF-Hydro)
  • Weather Research & Forecasting Model Hydro Coupled w/ WRF (WRF-Hydro Coupled)
  • Hurricane Weather Research & Forecasting Model (HWRF)
  • Weather Research & Forecasting Model CMAQ (WRF-CMAQ)
  • Weather Research & Forecasting Model Wildland Fire (WRF-SFIRE)
  • Basic Nesting is set up

System Requirements

  • 64-bit system
    • Darwin (MacOS)
    • Linux Debian Distro (Ubuntu, Mint, etc)
    • Windows Subsystem for Linux (Debian Distro, Ubuntu, Mint, etc)
    • CentOS based systems not supported
  • 350 Gigabyte (GB) of storage space

Libraries Installed (Latest libraries as of 11/01/2023)

  • Libraries are manually installed in sub-folders utilizing either Intel or GNU Compilers.
    • Libraries installed with GNU compilers
      • zlib (1.2.13)
      • MPICH (4.1.2)
      • libpng (1.6.39)
      • JasPer (1.900.1)
      • HDF5 (1.14.2)
      • PHDF5 (1.14.2)
      • Parallel-NetCDF (1.12.3)
      • NetCDF-C (4.9.0)
      • NetCDF-Fortran (4.6.1)
      • Miniconda
    • Libraries installed with Intel compilers
      • zlib (1.2.13)
      • libpng (1.6.39)
      • JasPer (1.900.1)
      • HDF5 (1.14.2)
      • PHDF5 (1.14.2)
      • Parallel-NetCDF (1.12.3)
      • NetCDF-C (4.9.0)
      • NetCDF-Fortran (4.6.1)
      • Miniconda
      • Intel-Basekit
      • Intel-HPCKIT
      • Intel-AIKIT

Software Packages

  • WRF
    • WRF v4.5.2
    • WPS v4.5
    • WRF PLUS v4.5
    • WRFDA 4DVAR v4.5
  • WRF-CHEM
    • WRF Chem w/KPP 4.5
    • WPS 4.5
    • WRFDA Chem 3DVAR
  • WRF-Hydro Standalone
    • WRF-Hydro v5.2
  • WRF-Hydro Coupled
    • WRF-Hydro v5.2
    • WRF v4.5.2
    • WPS v4.5
  • WRF-CMAQ
    • WRF v4.5.2
    • CMAW v5.4
    • WPS v4.5
  • WRF-SFIRE
    • WRF-SFIRE v2
    • WPS v4.2
  • Hurricane WRF (HWRF)
    • HWRF Utilities v4.0a
    • POMTC v4.0a
    • NCEP Coupler v4.0a
    • GFDL Vortex Tracker v4.0a
    • GSI v4.0a
    • UPP v4.0a
    • WRF v4.3.3
    • WPS 4.3.1

Pre/Post Processing Packages Installed

  • WRF
    • Development Testbed Center (DTC) Model Evaluation Tools (MET) v11.0.0
    • Development Testbed Center (DTC) Enhanced Model Evaluation Tools (METplus) v5.0.0
    • Development Testbed Center (DTC) Unified Post Processor (UPP) v4.1
    • ARWPost v3
    • WRF-Python (Conda installed)
    • OpenGrADS
    • GrADS
    • NCAR Command Langauge (Conda installed)
  • WRF-CHEM
    • Development Testbed Center (DTC) Model Evaluation Tools (MET) v11.0.0
    • Development Testbed Center (DTC) Enhanced Model Evaluation Tools (METplus) v5.0.0
    • Development Testbed Center (DTC) Unified Post Processor (UPP) v4.1
    • ARWPost v3
    • WRF-Python (Conda installed)
    • OpenGrADS
    • GrADS
    • NCAR Command Langauge (Conda installed)
    • Prep-Chem-SRC v1.5 (GNU only)
    • WRF CHEM Tools
      • Mozbc
      • Megan Bio Emiss
      • Megan Bio Data
      • Wes Coldens
      • ANTHRO EMIS
      • EDGAR HTAP
      • EPA ANTHO EMIS
      • UBC
      • Aircraft
      • FINN
  • WRF-Hydro Standalone
    • Development Testbed Center (DTC) Model Evaluation Tools (MET) v11.1.0
    • Development Testbed Center (DTC) Enhanced Model Evaluation Tools (METplus) v5.1.0
  • WRF-Hydo Coupled
    • Development Testbed Center (DTC) Model Evaluation Tools (MET) v11.1.0
    • Development Testbed Center (DTC) Enhanced Model Evaluation Tools (METplus) v5.1.0
    • Development Testbed Center (DTC) Unified Post Processor (UPP) v4.1
    • ARWPost v3
    • WRF-Python (Conda installed)
    • OpenGrADS
    • GrADS
    • NCAR Command Langauge (Conda installed)
    • WRF-GIS-Preprocessor (Conda installed)
  • HWRF
    • Development Testbed Center (DTC) Model Evaluation Tools (MET) v11.1.0
    • Development Testbed Center (DTC) Enhanced Model Evaluation Tools (METplus) v5.1.0
    • Development Testbed Center (DTC) Unified Post Processor (UPP) v4.1

MacOS Installation

  • Make sure to download and Homebrew before moving to installation.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Installation

  • (Make sure to download folder into your Home Directory):

cd $HOME

git clone https://github.com/HathewayWill/WRF-MOSIT.git

cd $HOME/WRF-MOSIT

chmod 775 *.sh

./WRF-MOSIT.sh 2>&1 | tee WRF_MOSIT.log

  • Script will check for System Architecture Type and Storage Space requirements.
  • Once running the script users will be provided with options to select how the WRF-MOSIT will compile and install the various packages.
    • First option, Which compiler users want to use Intel or GNU compilers.
      • Please note that Hurricane WRF (HWRF) can only use Intel Compilers
    • Second option, Which graphic display package should be installed. GrADS or OpenGrADS
    • Third option, Auto Configuration. This allows users to have a one-click install
    • Fourth option, Secondary WPS geography file download choice.
      • Author of script reccomends selecting "YES" if user is unsure.
    • Fifth option, Optional WPS geography file download cohice.
      • Author of script reccomends selecting "YES" if user is unsure.
    • Last option, Pick which WRF software user wants to install
  •  

 

Citation:

Hatheway, W., Snoun, H., ur Rehman, H. et al. WRF-MOSIT: a modular and cross-platform tool for configuring and installing the WRF model. Earth Sci Inform (2023). https://doi.org/10.1007/s12145-023-01136-y

 

자세한 내용은 아래 링크 참조

GitHub - HathewayWill/WRF-MOSIT: This BASH script installs all the required libraries, packages, software, dependencies, etc for the Weather Research & Forecasting model suite.

 

 

 

728x90
반응형