Skip to main content

Bugs and Fixes

The following entries detail identified bugs in SMARTS and their fixes.

February 25, 2010

SMARTS 2.9.5 User alert

A bug has been identified in SMARTS 2.9.5 PC package, the file name for the Sand and Gravel Albedo file is presently "SndGravl.dat" but SHOULD BE "SndGrvl.dat". Users can fix the problem by renaming the file in the "Albedo" folder. The download file has been updated.

February 2009

SMARTS 2.9.5 User alert

As of Friday 20 Feb 2009, a problem with the file handling within the SMARTS295.EXE executable code was found. If the user ran SMARTS295.EXE in the Command Window (DOS prompt) and input a PATH to the input file, the program could not find and open the file and stopped. An error in the program flow renamed the user specified path to the default path (SMARTS 2.9.5 folder) before the open file command. This error has been corrected, and a user input path, as long as it is complete (e.g. "C:\Smarts295_pc\Inputs\Testsite" ) will result in the correct opening of an input file located in the specified path. The output files are still routed to the directory or folder where SMARTS295.EXE is located.

September 2008

SMARTS 2.9.5 Excel Interface Update To Access ASTM E-490-00 Extraterrestrial Spectrum

If you downloaded SMARTS 2.9.5 for Windows before 11 Sept. 2008, the Excel interface SMARTS295.xls did not include the ASTM E490 selection on the Extraterrestrial Spectrum selection list (CARD 7a).

The SMARTS 2.9.5 model is unaffected, and the ASTM E490 spectrum has always been available as ETR Spectrum 8 in an input file.

First download the new versions of smarts295.xls and Users Manual for the Interface (ZIP 853 KB). Then replace the smarts295.xls file (splash screen shows version i1.2) with the new file (splash screen will show version i1.3), and replace the old interface users manual (version i1) dated February 2006 with the new version (version i3) dated September 2008.

As of 11 Sept. 2008, the Windows PC download package includes the updated interface and documentation.

October 2007

On Oct. 18, 2007, the granular snow albedo file GrnlSnow.dat in the Windows version of the SMARTS 2.9.5 download package was found to be corrupted. This error does not affect the performance of SMARTS 2.9.5 code unless "Granular Snow" (albedo file 30) is selected.

If "Granular Snow" is selected, the following error message appears in the Microsoft DOS window:

*******************************************
Welcome to SMARTS, version 2.9.5!
*******************************************

Invalid numeric input (see "Literal Data" in the Lahey Fortran 90 Language Reference), FILE=Albedo/GrnlSnow.dat, UNIT=20 Record = 1066 POSITION=11.

Program Completed Press Enter to Continue.

Registered users who have previously downloaded SMARTS 2.9.5 can access a repaired granular snow albedo file to replace the corrupted file in the SMARTS_295_PC\ALBEDO folder.

The Windows version of the SMARTS 2.9.5 download file has been updated with the repaired file, so new users are unaffected.

May 2007

On May 3, 2007, a bug was identified in the source code for smarts295.f FORTRAN code. To recompile the source code for pure batch operation, users were directed, via instructions embedded in the code, to:

Remove the c from line 189.

If the user did and then recompiled, the code did not work properly. This is because in Line 223 the logic is:

if(batch)goto 3002.

It should be:

if(batch)goto 3003.

Because the line tagged 3002 requires a previous definition of Usernm for file names, in batch mode, there are no user filenames. Going instead to 3003 allows the use of the default filenames.

This affected only users who modified and recompiled smarts295.f into smarts295.exe for their own batch use. Double-clicking on smarts295bat.exe executes the batch mode using only smarts295.inp.txt and default output file names. That batch file executable, used by the Excel interface, is not affected but can be run at any time.

In addition, before May 3, 2007, the download package lacked the Example 11 input file (smarts295.inp.txt). The new download file includes it. Alternatively, the Example 11 input file (TXT 222 B) is available separately.

January 2007

Bugs in albedo file handling were identified and fixed in the Mac and Linux versions of SMARTS 2.9.5 in September 2006. In January 2007, the corresponding PC version was posted.

Documentation errors were identified in the older versions of SMARTS 2.9.5. Certain albedo files were incorrectly labeled on pages 17 and 18 of the SMARTS 2.9.5 user's manual, and the incorrect mapping of those files was embedded in the code's executables and Windows interface. If your version was downloaded before Sept. 1, 2006, please download the revised package.

In the table below, when the old file label was selected in the Excel interface or the number (for the albedo selection in the manual version of SMARTS 2.9.5) in the first column was selected in the input file, the file in the second column (indicated by →) was incorrectly used by the program.

For reference, the correct mapping of albedo files based on number selection or label selection as it appears in the revised/corrected version of SMARTS 2.9.5 is shown as New File # and Description.

Old File # (OLD Description) →
Actual File Used
(Pages 17–18
of Old User's Manual)
New File # Correct Description
(Pages 17–18
of New User's Manual)
Filename
(Correct)
40 (Old runway asphalt) →
terracotta roofing clay tile
40 Terracotta roofing clay tile RoofTile
41 (Terracotta roofing) →
red construction brick
41 Red construction brick RedBrick
42 (Red construction brick) →
old runway asphalt
42 Old runway asphalt Asphalt
43 (Gravel) → tall green corn 43 Tall green corn TallCorn
46 (Tall green corn) → birch leaves 46 Birch leaves Birch
47 (Birch leaves) → wet sandy soil 47 Wet sandy soil WetSSoil
48 (Wet sandy soil) → gravel 48 Gravel Gravel

August 2003

A bug in SMARTS 2.9.2 for Windows relating to the selection of output parameters was identified. (This bug did not affect model calculations in any way.) If more than 24 output parameters were selected, the program would run—but with no more than 24 output parameters. This occurred even though the manual said all 32 output parameters could be selected.

This problem has been corrected in the new versions of SMARTS 2.9.2. If you downloaded SMARTS before September 2003, please download the latest version.