Skip to content

Weather file converter for PVsyst fails when format incorrect #1429

@cpaulgilman

Description

@cpaulgilman

Describe the bug

See https://sam.nrel.gov/forum/forum-general/4322

Additional files for testing:

pvsyst-meteo-samples.zip

PVsyst meteo file format description:

https://www.pvsyst.com/help/index.html?meteo_pvsyst_standard_format.htm

To Reproduce

Steps to reproduce the behavior:

  1. Download the PVsyst meteo CSV file attached to the Forum topic https://sam.nrel.gov/forum/forum-general/4322.
  2. Create a PVWatts / No Financial case.
  3. Click Macros, Solar Resource File Converter.
  4. In the macro options, choose PVsyst CSV for the weather file format.
  5. Click Run macro.
  6. Script fails with error:
    Macro did not finish.
    [754] referencing unassigned variable:Header
    

Expected behavior

Better handling of weather files with semicolon delimeters.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions