Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
  • Loading branch information
kandersolar and cwhanse authored Sep 13, 2023
1 parent 5f196bc commit 859151a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/sphinx/source/user_guide/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ irradiance datasets, including the BSRN, SURFRAD, SRML, and NREL's MIDC.
Can I use PVsyst (PAN/OND) files with pvlib?
--------------------------------------------

Although pvlib does include a function to read PAN and OND files
Although pvlib includes a function to read PAN and OND files
(:py:func:`~pvlib.iotools.read_panond`), it is up to the user to determine
whether and how the imported parameter values can be used with pvlib's models.
Easier use of these parameter files with the rest of pvlib may be added
Expand Down
6 changes: 3 additions & 3 deletions pvlib/iotools/panond.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ def parse_panond(fbuf):
files was available. So, this parser is based on inferred logic, rather
than anything specified by PVsyst.
The parser assumes that the file being parsed uses indendation of two
spaces (' ') to create new level in a nested dictionary, and that
The parser assumes that the file being parsed uses indentation of two
spaces (' ') to create a new level in a nested dictionary, and that
key/values pairs of interest are separated using '='. This further means
that lines not containing '=' were omitted from the final returned
that lines not containing '=' are omitted from the final returned
dictionary.
Additionally, the indented lines often contain values themselves. This
Expand Down

0 comments on commit 859151a

Please sign in to comment.