SPARROW VERSION 2.8 SUMMARY OF REVISIONS Updates since version 6 include: Version 8 sparrow_main.sas 2/1/07 - Modified the main macro by adding the file boot_detail to the list of SAS files to be backed up at the beginning of a SPARROW prediction run. See notes for this date in sparrow_compile.sas for a description of the contents of this file. The creation of this file is presently undocumented, and will only be activated if code is modified in the sparrow_compile.sas file. 6/6/07 - Modified the main macro to include the file error_report in the backup function. sparrow_calibrate.sas 6/6/07 - Expanded the error message given when the file error_report is created. sparrow_compile.sas 2/1/07 - Modified macro compile_ci_set_storage and compile_ci_add_data to optionally output bootstrap iteration estimates for selected prediction variables and a subset of reaches, based on the specification of the undocumented control variables boot_detail_reaches and boot_detail_predvars specified at the top of the sparrow_compile.sas file. If detailed bootstrap output is requested (see comments above the boot_detail_reaches and boot_detail_predvars control variable specifications) SPARROW creates the file bood_detail in the results directory containing detailed bootstrap iteration output for selected reaches. These files can be used to create other output prediction variables, including large basin incremental delivered flux. Also added code at the end of the summarize_predict macro to reconfigure the boot_detail file so it has columns for individual prediction variables. Version 7 sparrow_main.sas 12/13/06 - Added statement in main macro to execute the macro make_nested_area (see setdata). This adds the variable nested station area to the station_data file. 12/13/06 - Added statement in main macro to execute the macro check_station_vars (see setdata). This macro checks to see if the station variables file has any missing values for critical station variables, such as the staid or ls_weight variables. The macro also notes, but does not error flag, if a monitored reach has no lat/lon, thereby causing the flux to be dropped from the map of station residuals. sparrow_calibrate.sas 11/20/06 - Modified call symput('flag_zero_load',trim(left(1))) ; to read: call symput('flag_zero_load',trim(left(char(1)))) ; This fixes an error that ocurred due to 1 being numeric. sparrow_setdata.sas 12/13/06 - Added the new macro make_nested_area which computes the nested area for each monitoring station and merges this variable in with the station_data file. 12/13/06 - Added the new macro check_station_vars. This macro checks to see if the station variables file has any missing values for critical station variables, such as the staid or ls_weight variables. The macro also notes, but does not error flag, if a monitored reach has no lat/lon, thereby causing the flux to be dropped from the map of station residuals.