1.7 solradb.aml

This AML is a batch mode version of the solrad.aml. There is no difference to the coding of solrad.aml, except that solradb.aml has no user interface. Rather, the necessary parameters are passed when starting the AML. It might be appropriate to read the instructions for shortwave.aml and for solrad.aml first. The usage of the routine is as follows:
 
&r solradb  <trn>  <lps>  <dem>  <out>  <lat>  <time>  <base>  <days <sel>


where: trn = file name for transmittance data; lps  = file name for lapse rate data; dem = file name of DEM; out = base name of outgrid file names (w|out index); lat = latitude of study site (DEM); time = daily time interval for solar pass (in minutes); base = base elevation for transmittance data; days = # of days the lapse rate data are averaged for; sel  = method for transmittance (where: 1= maximum transmittance per period; 2 = horizontal radiation based transmittance; 3 = direct radiation based transmittance; 4 = corrected direct radiation based transmittance).

All the other requirements are the same meaning that for running the solradb.aml two files containing transmittance and lapse rate data have to be prepared prior to running the AML. The AML automatically runs the two additional command procedures rdtrans.aml and rdlpsrt.aml. So you have to download those as well!
 
 
 

General specifications of the AML:

Command: &r solrad  <parameters>    (at GRID or ARC prompt)
Required input: DEM, transmittance-file, lapse rate-file
Output units: kJ/m2/time period
Solar constant used: 1.367 kW/m2
Transmittance used: passed by a parameter file
Elevat. lapse rate for trans. passed by a parameter file
Minimum calculation step: 1 day
Speed of calculations: Very fast due to parsimonious programming
Flexibility of the routine: Medium; can’t go beyond 1 day
User interface: Limited, but simple and easy
Known errors:  -
Corrections  -
Programmer N.E. Zimmermann
L. Kumar (original base code of shortwave.aml)
Download: solradb.aml, rdtrans.aml, rdlpsrt.aml       (use: "save link as"; download all 3 files)
Contact: niklaus.zimmermann @ wsl.ch
 

[top] [back] [home]

Last Updated: 9/14/00
By Niklaus E. Zimmermann