Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

Weather Converter: Purpose of ProcessWeather() OutFileURL parameter?

asked 2018-01-05 08:37:57 -0600

dhollman's avatar

updated 2018-01-05 11:10:36 -0600

In the weather converter DLL documentation it specifies the following parameters for the ProcessWeather() function:

Private Declare Sub ProcessWeather Lib "EPlusWth" 
    (ByVal strInType As String,      ByVal InTypeLen As Long, 
     ByVal strOutType As String,     ByVal OutTypeLen As Long, 
     ByVal strInFileName As String,  ByVal InFileNameLen As Long, 
     ByVal strOutFileName As String, ByVal OutFileNameLen As Long, 
     ErrorFlag As Boolean, 
     Optional ByVal strOutFileURL As String, Optional ByVal OutFileURLlen As Long)

(VB code)

However, the documentation omits discussing the last parameter OutFileURL.

Since It is an optional parameter the example on the same page leaves it out.

What is this for?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-01-05 08:40:02 -0600

dhollman's avatar

updated 2018-01-05 08:40:42 -0600

In another part of the weather converter documentation it contains the following:

2.5.3.3 Field: OutputURL When a list of files is being processed, one of the outputs that results from the processing is a KML (Keyhole Markup Language) file that can be used with Google Earth to pinpoint the locations of the weather site. This field can be used to set this URL for later output. The list file format also includes a URL as its third (optional) parameter. If included, this input would overwrite other URL designations.

So I assume that is what this last parameter is for.

That said, this description is still a bit vague, I guess it will insert the provided URL string in the output KML file? (Any comments to clarify this would be useful).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2018-01-05 08:37:57 -0600

Seen: 119 times

Last updated: Jan 05 '18