# Presentation: 170249

## wrfsi – Explanation of the wrfsi Directory Structure and UNIX defined Env Variables

- The SI definable directory paths (indicated in the following diagrams) will be located within the wrfsi SOURCE_ROOT directory by default. *Or,* any number of these directory paths can be located *anywhere* on your system if you simply define the env variable(s) prior to the installation process.

## SOURCE_ROOTSI directory structure when code is first extracted from the SI tar file.

**wrfsi**

**data   etc  extdata   src   util   graphics  gui**

- SOURCE_ROOTSI directory structure when code is first extracted from the SI tar file.

## INSTALLROOTSI directory structure after (install_wrfsi.pl) installation process where, by default, INSTALLROOT equals SOURCE_ROOT.

**wrfsi**

**data  etc**  extdata   src   util   graphics  gui   **bin****  ****templates  domains**

- INSTALLROOTSI directory structure after (install_wrfsi.pl) installation process where, by default, INSTALLROOT equals SOURCE_ROOT.

## INSTALLROOTSI directory structure after installation processes where INSTALLROOT is set to a directory location other than being set to SOURCE_ROOT.

**si_install**

**data  etc**                                                        **bin****  ****templates  domains**

- INSTALLROOTSI directory structure after installation processes where INSTALLROOT is set to a directory location other than being set to SOURCE_ROOT.

## TEMPLATESDefault directory location for directories that will contain a template wrfsi.nl file. (Note: this wrfsi.nl file contains only the namelist values that differ from the principle Fortran namelist, wrfsi.nl).

- wrfsi

- data   etc  extdata   src   util   graphics  gui   bin  **templates**  domains

- TEMPLATESDefault directory location for directories that will contain a template wrfsi.nl file. (Note: this wrfsi.nl file contains only the namelist values that differ from the principle Fortran namelist, wrfsi.nl).

- Alaska    Japan

**default  Alaska  Japan**

## Principal copy of wrfsi.nlAfter installation processes, location of the principal copy of the SI Fortran namelist, wrfsi.nl, will be found in TEMPLATES/default/wrfsi.nl.

- wrfsi

- data   etc  extdata   src   util   graphics  gui   bin   templates  domains

- Principal copy of wrfsi.nlAfter installation processes, location of the principal copy of the SI Fortran namelist, wrfsi.nl, will be found in TEMPLATES/default/wrfsi.nl.

- Alaska    Japan

**default  **Alaska   Japan

**wrfsi.nl**

## DATAROOT Directory path where the MOAD_DATAROOTs will be located in order to write SI output data / WRF input data

- wrfsi

- data   etc  extdata   src   util   graphics  gui   bin   templates  **domains**

- DATAROOT Directory path where the MOAD_DATAROOTs will be located in order to write SI output data / WRF input data

- Alaska    Japan

- default   Alaska   Japan

## MOAD_DATAROOTDirectory where a domain’s definition files and the wrf input data will be written.

- wrfsi

- data   etc  extdata   src   util   graphics  gui   bin   templates  domains

- MOAD_DATAROOTDirectory where a domain’s definition files and the wrf input data will be written.

**Alaska**  Japan

- default   Alaska   Japan

## MOAD_DATAROOT

- wrfsi

- data   etc  extdata   src   util   graphics  gui   bin   templates  domains

- MOAD_DATAROOT

- Alaska  **Japan**

- default   Alaska   Japan

## EXT_DATAROOT Directory path containing output from grib_prep process (basically, the decoded GRIB files). This dir supports multiple MOAD_DATAROOTs.

- wrfsi

- data   etc  extdata   src   util   graphics  gui   bin   templates  domains

- EXT_DATAROOT Directory path containing output from grib_prep process (basically, the decoded GRIB files). This dir supports multiple MOAD_DATAROOTs.

**extprd work log  static**

## GEOG_DATAROOT Directory path containing geography data subdirectories, landuse_30s, etc.

- wrfsi                                          **geog**

- data   etc  extdata   src   util   graphics  gui   bin   templates  domains

- GEOG_DATAROOT Directory path containing geography data subdirectories, landuse_30s, etc.

**landuse_30s  soiltemp_1deg  islope **

## Look for Fortran executablesto indicate a successful wrfsi installation after running install_wrfsi.pl.

- wrfsi

- data   etc  extdata   src   util   graphics  gui   **bin**   templates  domains

- Look for Fortran executablesto indicate a successful wrfsi installation after running install_wrfsi.pl.

**gridgen_model.exe**
**grib_prep.exe**
**hinterp.exe**
**vinterp.exe**

## Look for Perl scriptsto indicate a successful wrfsi installation after running install_wrfsi.pl.

- wrfsi

- data   **etc**  extdata   src   util   graphics  gui   bin   templates  domains

- Look for Perl scriptsto indicate a successful wrfsi installation after running install_wrfsi.pl.

**window_domain_rt.pl**
**grib_prep.pl**
**wrfprep.pl**

## Principal Fortran NamelistsEdit grib_prep.nl for grib_prep.pl to locate and decode GriB data. Edit wrfsi.nl for wrfprep.pl to locate and process your decoded GriB files. 

- wrfsi

- data   etc  extdata   src   util   graphics  gui   bin   templates  domains

- Principal Fortran NamelistsEdit grib_prep.nl for **grib_prep.pl** to locate and decode GriB data. Edit wrfsi.nl for **wrfprep.pl** to locate and process your decoded GriB files.

- extprd   work   log**   static**

**grib_prep.nl  **Vtable.GFS  Vtable.RUC

- Alaska    Japan

- siprd     **static**

**wrfsi.nl**

## Look for input to WRF modelto indicate successfully running hinterp and vinterp, via wrfprep.pl.

- wrfsi

- data   etc  extdata   src   util   graphics  gui   bin   templates  domains

- Look for input to WRF modelto indicate successfully running hinterp and vinterp, via wrfprep.pl.

**wrf_input.global.metadata**
**wrf_input.d01.2005-08-24_12:00:00**
**wrf_input.d01.2005-08-24_18:00:00**

- Alaska    Japan

**siprd    **static