GithubHelp home page GithubHelp logo

simple-ufs's Introduction

Welcome to the Simple UFS Weather App

GitHub Actions status

GitHub Actions status GitHub Actions status GitHub Actions status GitHub Actions status

Let's start with a disclaimer.

Disclaimer

This is unofficial, unsupported, untested and undocumented UFS Weather App. For official, supported, tested and documented UFS Weather App look elsewhere. For example here.

By cloning, forking or downloading anything from this repository I assume you know what you are doing.

What is in this repository

The purpose of this repository is to store my personal scripts I use to build UFS Weather model in a simple and portable way. Emphasis is on providing fairly simple building of all dependencies and model itself on a workstation type of computer (desktop/laptop) using GNU compilers.

That's all.

Quick start

Build

Run:

./get.sh

to download preprocessor, model, post processor and all dependencies.

Run:

./build.sh <gnu|intel>

to build (almost) everything.

This build script expects compilers (C, C++ and Fortran) and MPI library to be installed and available. Some basic development tools are also required, like standard unix tools, git, gmake, cmake, python2.7, perl. Either install required packages using you distribution package manger (yum/dnf, apt, apk, etc.), or load appropriate modules (if you are on a system that uses environment modules).

There's also an option to build MPI library [MPICH(v3.3.1) and OpenMPI(v4.0.2)] locally, run libs/mpilibs/build.sh script, and update your PATH to point to locally built library (for example libs/mpilibs/local/mpich3/bin).

Test your build

  1. Clone the repository containing pre-generated input data for global C96 configuration. Initial date: 2016-10-03 00Z
git clone https://github.com/DusanJovic-NOAA/ufs-test-data
  1. Run the model executable on 8 tasks:
cd ufs-test-data
mpiexec -np 8 <path>/simple-ufs/bin/ufs_model

This will run global C96 grid configuration. If the run is successful you'll find a number of output files named dynf???.nc (dynamics variables) and phyf???.nc (physics variables) in the run directory.

For reference and comparison, here are two example plots. Temperature at level 30 and total precipitation (24h forecast)

temp_l30_24h

tprcp_24h

*** Good luck! ***

simple-ufs's People

Contributors

dusanjovic-noaa avatar rscohn2 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

simple-ufs's Issues

the test your build fails with an error

Hi @DusanJovic-NOAA
I've tried this section: https://github.com/DusanJovic-NOAA/simple-ufs#test-your-build
and it currently fails two different errors:

test as is

 mp_top=           1 pfull=  0.3791508
 Mean specific humidity (mg/kg) above 75 mb=   5.781968
 Total surface pressure (mb) =    985.1912
 mean dry surface pressure =    982.7458
 Total Water Vapor (kg/m**2) =   24.89161
 --- Micro Phys water substances (kg/m**2) ---
 Total cloud water=  4.3025885E-02
 Total rain  water=  0.0000000E+00
 Total cloud ice  =  1.2752488E-03
 Total snow       =  0.0000000E+00
 Total graupel    =  0.0000000E+00
 ---------------------------------------------

FATAL from PE     1:  atmosphere_dynamics: error in ccpp_physics_init for group fast_physics: Invalid suite FV3_GFS_v15p2_no_nsst


FATAL from PE     2:  atmosphere_dynamics: error in ccpp_physics_init for group fast_physics: Invalid suite FV3_GFS_v15p2_no_nsst


FATAL from PE     5:  atmosphere_dynamics: error in ccpp_physics_init for group fast_physics: Invalid suite FV3_GFS_v15p2_no_nsst

test with ccpp_suite = 'FV3_GFS_v16'

 Rayleigh_Super E-folding time (mb days):
           1  0.3791508       10.80961
           2  0.9638716       16.58187
           3   1.765426       29.05604
           4   2.672258       53.46028
           5   3.706250       110.5447
           6   4.887253       293.6101
           7   6.236709       1568.139
 After adi: W max =   0.3453540      min =  -0.3026282
 na_ini Z500   5653.413       5513.896       5586.845       5874.551

FATAL from PE     0: check_nml_error in fms_mod:  Unknown namelist, or mistyped namelist variable in namelist atmos_model_nml,   (IOSTAT =           19 )


FATAL from PE     2: check_nml_error in fms_mod:  Unknown namelist, or mistyped namelist variable in namelist atmos_model_nml,   (IOSTAT =           19 )


FATAL from PE     3: check_nml_error in fms_mod:  Unknown namelist, or mistyped namelist variable in namelist atmos_model_nml,   (IOSTAT =           19 )


am I missing something here?
Thank you.

run_post fails on macOS with GNU compilers

Recording the issue - I could reproduce the problem on my Mac, which should make it easier to debug.

Output of run_post.sh:

...
   306815.438       422.956848      -5.66667313E-06   6.52646860E-12   304.703003      -1.75733920E-04   1.98863470E-03
   306822.844       422.980652      -2.92675395E-05   1.06630297E-12   304.710205      -9.09407041E-04   3.24913388E-04
   306920.250       423.299225      -5.72754434E-05  -6.21461129E-12   304.806854      -1.78333640E-03  -1.89425610E-03
 PVTH at N POLE=    3.64009523       7.38693905       5.28403902       6.61903954       9.90000005E+10 grib2           2
 end of MDL2THandpv
 nTLFLD=         988
 WRFPOST:  PREPARE TO PROCESS NEXT GRID

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 65078 RUNNING AT heinzeller-lt.local
=   EXIT CODE: 4
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Illegal instruction: 4 (signal 4)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.