ContentsIndexReferenceHome
PreviousUpNext
Functions for Working with LEEDR
ATMTools Functions

This section contains functions distributed with ATMTools for use in atmospheric modeling with the Laser Environmental Effects Definition and Reference (LEEDR). For information on LEEDR see https://www.afit.edu/CDE/ or contact AFIT CDE, 2950 Hobson Way, Wright-Patterson AFB, Ohio, 937.255.3636 x4506. Many of these functions require the user to have an m-code or p-code version of LEEDR on the Matlab path or at least to have pre-computed atmospheric data from LEEDR. In addition to the functions described below, the functions LEEDRAtmos, GADSAtmos, and OceanAtmos described in AtmosModels make use of LEEDR. Additionally, ATMTools includes functionality to generate and work with LEEDR weather cube data using the function LEEDRWxCube and functions described in this section.

Functions
Name 
Description 
Generates LEEDR model data for use with the function LEEDRAtmos. Requires p-code or m-code version of LEEDR available from the Air Force Institute of Technology. Creates an entry in the workspace application data for use by LEEDRAtmos - use m = loadLEEDRAtmos with no inputs to obtain the data generated and loadLEEDRAtmos([]) to clear the app data. 
Generates LEEDR weather cube data for use with the function LEEDRWxCube. Requires p-code or m-code version of LEEDR available from the Air Force Institute of Technology. Will write mesh and/or h5 files to LEEDRWXCUBE lookup path. 
Loads the data descriptions for the CFLOS sites. Data is displayed if no outputs are assigned. 
Downloads the relevant Grib file from https://nomads.ncdc.noaa.gov. If standard data does not exist for requested times, will try to get re-analysis data. 
Generates an Atm structure using all LEEDR data. LEEDR data must be loaded and available in application data - see loadLEEDRAtmos
Create a LEEDR LUT object from inputs for use with LEEDR in ATMTools. This function does not set or modify LEEDR profiles in the Matlab app data. For that use loadLEEDRAtmos and/or buildLEEDRAtmos
Loads the data descriptions for the LEEDR sites. Data is displayed if no outputs are assigned. Requires m-code or p-code version of LEEDR on the Matlab path. 
Create a LEEDR weather cube LUT object for use with the function LEEDRWxCube. Requires p-code or m-code version of LEEDR available from the Air Force Institute of Technology. Creates an entry in the workspace application data for use by LEEDRWxCube - use wxCube = loadLEEDRWxCube with no inputs to obtain the data generated. Will write mesh and h5 files to LEEDRWXCUBE lookup path. 
Generates an Atm structure using all LEEDR Wx cube data. LEEDR Wx cube data will be loaded if not already - see loadLEEDRWxCube 
Loads precomputed LEEDR atmospheric data from a file and places into the desktop application data for use with LEEDRAtmos. It can also take in a LEEDR data structure and place that data into the desktop application data. Will replace existing application data - use mergeLEEDRAtmos to combine with existing data. If no inputs are passed in, the function will return the application data, if any exists. If the input is empty ([]), the function will just clear the current application data. 
Returns the raw data and associated Lats and Lons for a LEEDR Wx Cube. 
Returns the value of the mean refractivity (n - 1) using the LEEDR function CiddorOld. 
Combines a LEEDR output structure with the LEEDRAtmosphere data in the workspace application data and places the result in the application data for the workspace. Will only combine the structures if the fields in "Inputs" have identical values other than the Wavelength. If the input data does not match the current LEEDR data, current LEEDR data will be replaced. 
Returns the probability of cloud-free line of site given geometry, season, time-of day and specified location. 
Saves precomputed LEEDR atmospheric data from the desktop application data to a Matlab data file, fname. If the data is LEEDR 4.0 object data, it will be saved as fname.lds unless fname contains an extension. 
Generates LEEDR default boundary layer altitude based on the LEEDR Inputs structure. If the inputs are timeIDX and season, it is assumed the metType is 'ExPERT'. 
Generates LEEDR model data inputs for use with the function buildLEEDRAtmos. Requires p-code or m-code version of LEEDR available from the Air Force Institute of Technology. 
Sets the Matlab path to include LEEDR directories for use of LEEDR in script mode. 
Use this function to update existing input data for LEEDR 3 to use with LEEDR 4. 
Use this function to update existing input data for LEEDR 3 to use with LEEDR 4. 
Module
Made with Doc-O-Matic.
Copyright (c) 2009. All rights reserved.
What do you think about this topic? Send feedback!