Git Product home page Git Product logo

geos2wrf's Introduction

GEOS2WRF

You will have to change the directory paths in these scripts to use them. It also assumes you have GEOS2WRF and WRF-4.0 compiled on your system.

Below is a log of how each of the scripts work. To run this (after you have changed the directory paths in the scripts), the only thing you should regularly have to edit is the namelist_geos_scripts, which allows you to change the start and end times of your storms. From there, the download_wrapper downloads and organizes the NASA data, the geos_wrapper processes it, the util_wrapper creates three more necessary fields and the cat_wrapper packages all the disparate files into one GEOS:TIMESTAMP file to use with WPS.

These are python scripts that take a start date and end date and time as inputs, then download the necessary data files from NASA and process them using GEOS2WPS and the utilities createLANDSEA, createRH, and createSOILHGT.

The scripts are broadly organized into four sections: a series of download scripts, a series of scripts that run geos2wps, scripts that run utilities, and a script that concatenates all the required fields to prepare files that are ready to be used by Metgrid. There are high level scripts to run all four of these sub-sections.

The download scripts: There is a single download script called ‘download_wrapper” that should download every file you need given an start and end time. It also organizes the files into a storm_startdate with subfolders for each field.

The processing scripts: The scripts named GEOS_ run geos2wps on each file you have downloaded, and the scripts named create run createRH, createLANDSEA and createSOILHGT. These scripts are broken up by GEOS file to be processed, there is one for each downloaded file. They link in the executable geos2wps, create a namelist and run geos2wps for each time step. The wrapper script GEOS_wrapper runs all of these.

Once you have processed all of the fields in geos2wps, you can run the utility scripts that concatenate the files you need into a geos:timestamp file and run the utility executable. The util_wrapper automates this process.

The concatenation script: once everything is done, you can move all of the files you have processed into the same folder (the wraparound script I am writing will do this for you), and catGEOS.py will get everything you need into the files GEOS:TIMESTAMP to be ready to be used by metgrid. The cat_wrapper automates this, as well as creates a single SST file you can input as a constant into WPS.

geos2wrf's People

Contributors

chmarshall14 avatar

Watchers

 avatar

Forkers

cycle13 vyesubabu

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.