Servet,
Just to clarify a few items. On Friday in an email to the HLUG, I said:
> From my reading of the code, there is no way for you to put in the
> diffuse and direct components without changing it. The code needs to
> be edited in order to do that. The simplest approach is probably:
> 1) Make your input irradiance file have two additional columns, one
> for diffuse and one for direct irradiance
> 2) Edit irradat.f to correctly read, store , and return this information
> 3) Edit incfiles.for to not call gcirrad
Note that the above steps do not perform a compilation. They merely
consist of editing files.
Really, I need to add a few steps:
First, you should really completely read the Hydrolight 4.2 Technical
Documentation (h42techdoc.pdf, in the Documents folder), especially
portions of Appendix A (especially "Other Troubleshooting" and "General
Information") and Appendix D.1.
4) At this point, you need to compile the files to make an executable.
This may be done as described in the Hydrolight Technical Manual - see
Appendix A "General Information" section. What you need to do is to open
a windows command prompt (or dos command prompt) window. Change drives
to the drive where the Hydrolight directory lives on. Change directories
to the Hydrolight's maincode directory. Follow the compilation
instructions given in Appendix A. This creates an executable known as
maincode.exe.
Then change to the Hydrolight run directory. Then you need to issue the
following command:
..\maincode\maincode.exe < .\batch\Iroot.txt
but instead of "Iroot.txt" use the name of the input file that you want
to use, which usually exists in the HL's run\batch folder.
Good luck,
-M
Servet Ahmet Cizmeli wrote:
>I understand it much better now, especially after Marcos' comments.
>
>Thanks Marcos, thanks Lydia.
>
>One more question: Looking at my newly compiled incfiles.for, I see that
>the routine GCIRRAD is still being called to estimate the diffuse and
>direct components of Edtot (which is now read off disk from my data
>file). Is there a way to incorporate into H42 our spectral measurements
>of eddir and eddif? The only option I see in the GUI is the parameter
>"cloud" which is a scalar between [0-1] and does not fully account for
>the spectral shape of the components.
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
--
Marcos Montes, Ph.D.
Research Physicist
Code 7232, Naval Research Laboratory, Washington, DC 20375
marcos.montes@... \W: 202-767-7308 \ Fax: 202-404-5689