Git Product home page Git Product logo

nasa_servir_scripts's Introduction

SERVIR West Africa Monthly Run Manual

This manual will outline the steps need to be performed to do the monthly run.

The directory structure is for NASA server: 10.5.5.37

Download data

1.1 Download CHIRPS data

  • Enter this directory: /home/Socrates/hjung/WA_025/MET_FORCING/
  • Open this script: get_CHIRPS_monthly.sh
  • Change chirpsdir to your directory where you would like to download the data
  • Run this script in the terminal: ./get_CHIRPS_monthly.sh
  • This will prompt you for 2 things:
    • Year. Enter 2019, for example
    • Month. Enter 4, for example
    • Enter y for confirmation.
  • Download will commence

1.2 Download MERRA2 data

  • Enter this directory: /home/Socrates/hjung/WA_025/MET_FORCING/
  • Open this script: Get_merra2_ges_disc_ALLVARS.sh
  • Change WORKDIR to your directory where you would like to store the data
  • Run this script in the terminal: ./Get_merra2_ges_disc_ALLVARS.sh
  • This will prompt you for 3 things:
    • Year. Enter 2019, for example
    • Month. Enter 4, for example
    • Enter y for confirmation.
  • Download will commence for 4 MERRA2 variables

GEOS 5 download

  • Enter this directory: /home/Socrates/hjung/WA_025/MODEL_RUN/BCSD_Scripts/

2.1 GEOS5 download

  • Activate the python environment: conda activate py2
  • Run this script: ./Download_GEOS5V2_all.F.sh
  • This will prompt you for 3 things:
    • Forecast Year. Enter 2019, for example
    • Forecast Month. Enter 4, for example
    • Enter y for confirmation.

2.2 GEOS5 Bias correction

  • Run this script: ./TmpDisagg.F.sh
  • This will prompt you for 3 things:
    • Year. Enter 2019, for example
    • Month. Enter 4, for example
    • Enter y for confirmation.
  • Download of bias-corrected daily and sub-daily forecasts will commence.

2.3 Merging

  • Run combine.F.sh
  • This will prompt you for 3 things:
    • Forecast Year. Enter 2019, for example
    • Forecast initialization Month. Enter 4, for example
    • Enter y for confirmation.
  • Will combine all non-precip 6-hourly files into one file.

Retrospective run

  • `/home/Socrates/hjung/WA_025/MODEL_RUN/LDT_Files/ESPconv_RSTFILES/t2_upscale_01to07_grace_da.sh

2.1 LIS retro run

  • Go to /home/Socrates/hjung/WA_025/MODEL_RUN/OL_CLSM
  • Use mpirun with 32 processors.
  • Run LIS mpirun -np 32 ./LIS -f /home/Socrates/hjung/WA_025/MODEL_RUN/OL_CLSM/lis.config

2.2 Prepare LIS outputs for Tethys Viewer

The Land Surface Model and Routing model output files from Step 2.1 have to be merged and prepared for the Tethys Viewer

  • Go to netcdf_conversion
  • This will convert the data from start time (2019 5 20) to end time (2019 5 22): ./convertlisnetcdf 2019 5 20 2019 5 22 ./retrospective_directory /home/Socrates/hjung/tethyswa_lis_viewer/retrospective/ ./servirwa_nc_clsmf25_output.tbl.list.cf

nasa_servir_scripts's People

Watchers

 avatar

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.