Climate tools and workflows

This tool category is producing the daily time series weather (typically 1980-2010) for baseline and future based on users' weather seed file, AgMERRA global gridded weather dataset, and 20 Global Climate Model projection. Users can also view the climate anomaly of both baseline and future scenarios by using the app of plot climate scenario anomaly.

Apps

Delta shift

Generate .AgMIP farm sites weather
This app creates baseline .AgMIP files for a series of locations (farms) in a given region. It can be used to create climate files for a large number of farm locations that are close to a central weather station where the historical climate series has been quality controlled. If the farms are greater than ~100km away it may be better to pull the sites directly from Ag-MERRA dataset. 

Inputs:
   1. Input .AgMIP climate observation: the sendfile (.AgMIP file) used to generate climate files that surround it.
   2. Short name for output file: a two-character abbreviation for naming your output files.
   3. Headerplus: Additional header information fill in the name of the station location.
   4. Latitudes of each farm site: a comma separated list of latitudes indicating the latitudes of farm sites, can be as many as possible.
   5. Corresponding longitude of each farm site: a comma separated corresponding list of longitude for each farm site.
   6. Select region: The worldClim defined subregion. Currently it only includes AgMIP integrated assessment regions of Easter Africa, Western Africa, Southern Africa, Pakistan, Indo-Gangetic basin, and South India and Sri Lanka.

Outputs:
      A zipped .AgMIP files for users specified locations (Latitudes and Longitudes), named as XX01, XX02, XX03....., XX is the short name defined in input box 2.    

Generate .AgMIP future climate scenarios
This App creates future climate scenarios from CMIP5 GCMs and BCSD in the AgMIP standard format. You can either use your baseline AgMIP file or the newly created AgMIP files produced by Generate .AgMIP farm sites weather as the input basefile for the tool. It currently uses two methods to generate the scenarios: simple delta and mean+variation.

Inputs:
   1. Input .AgMIP baseline climate zip file: zipped .AgMIP files which could be your baseline files or files that newly generated by Generate .AgMIP farm sites weather.
   2. Select global climate model: the CMIP 5 GCMs. Tool loops through the selected GCMs to generate multiple scenario files, applied different names from AgMIP naming policy.
   3. Select greenhouse gases concentration pathway: 
   4. Select time period: 
   5. Select generation method: it include two methods to generate scenario. Simple Delta applies projected delta changes (from GCMs) to temperature maximum (Tmax), temperature minimum (Tmin) and precipitation (Rain) of the input baseline .AgMIP files, while Mean and Variation applies mean and variability changes to the three variables. The other climate variables (Srad, Wind, Dewp, Vprs, Rhum) are not adjusted. 

Outputs:
      A zipped .AgMIP files for selected combinations of GCM, pathway, and time period. The last four characters of the file name are based on the AgMIP climate scenario naming convention, for more information please see http://research.agmip.org/display/itwiki/AgMIP+Climate+Scenario+Naming+Convention  

Produce climate metrics for given .AgMIP files
This App produces a record of climate metrics in a given season for given .AgMIP files.

Inputs:
   1. Input .AgMIP climate files: a zipped .AgMIP files
   2. The julian starting day number in a 365 day year: 
   3. The julian ending day number:  
        The text box 2 and 3 specify the time period over which the analysis is conducted. These two variables should be defined by the Julian day number in a 365 day year (not a leap year) where 1=January 1, 32=February 1, 225=December 1. If the analysis spans two years, just give the starting day number of the first year in text box 2, and ending day number of second year in text box 3, ending day isn't required to be greater than starting day. If you are running multiple .AgMIP files which have different start and end dates, use a comma separated number list instead of one number. 
   4. Select climate variable: 
   5. Select analysis type: 
       analysis.type should be defined as one of the following calculations:

        'mean'                 - the average of the selected climate variable

        'max'                  - the maximum of the selected climate variable

        'min'                  - the minimum of the selected climate variable

        'std'                  - the standard deviation of the selected climate variable

        'count'                - the number of days the selected climate variable is greater than the 

                                 value defined by the input variable 'reference'

                                 set 'special.operator' to '-1' to count the number of days that the

                                 selected climate variable is less than the value defined by the

                                 input variable 'reference'

        'exceedance'           - totals the amount by which the selected climate variable is greater

                                 than the value defined by the input variable 'reference'

                                 set 'special.operator' to '-1' to total the amount by which the

                                 selected climate variable is less than the value defined by the

                                 input variable 'reference'

        'meanconsecutivedays'  - calculates the mean number of consecutive days when the selected

                                 climate variable is greater than the value defined by the input 

                                 variable 'reference'

                                 set 'special.operator' to '-1' to calculate the mean number of

                                 consecutive days when the selected climate variable is less than

                                 the value defined by the input variable 'reference'

        'maxconsecutivedays'   - calculates the maximum number of consecutive days when the selected

                                 climate variable is greater than the value defined by the input 

                                 variable 'reference'

                                 set 'special.operator' to '-1' to calculate the maximum number of

                                 consecutive days when the selected climate variable is less than

                                 the value defined by the input variable 'reference'


    5. Optional inputs: Specify the threshold values and operator, when select the analysis types of "count", "exceedance", "meanconsecutivedays", and "maxconsecutiveday", these two inputs will identify the reference and operation method that used for the metrics calculation.

Outputs: a csv file that contain the climate metrics for all .AgMIP files. 

Plot climate scenario anomaly
This App is a standalone R script to plot climate anomalies for single or multiple climate file inputs.

Inputs data types: Currently the app accepts compressed (.aceb and .zip) as input, in which in contains one or multiple weather .csv or .AgMIP files. Users can identify how many input files they want to use to generate the climate anomaly. inputs must include at least one future climate and one baseline climate.

Processes: Climate Analyze Data (left top) -> Plot climate scenarios - Choose climate variable that want to plot -> Select plot types (the relative or absolute value) -> Choose input date type (.aceb or .zip) -> Select future climate file and historical or baseline climate files -> Execute.

Output: .pdf or .png image file.


Workflows 

Users can create a workflow as following to generate and plot the climate scenarios, the only input of the workflow is .AgMIP seedfile, other configurations of each app is accessible through the right panel when the app is in focus status.   


Comments