pypsa-meets-earth / pypsa-earth-sec

GNU General Public License v3.0
19 stars 16 forks source link

fix: fix incorrect recognition of the ISO-2 country code "NA" as NaN … #273

Closed doneachh closed 5 months ago

doneachh commented 5 months ago

…value

Closes # (if applicable).

Changes proposed in this Pull Request

Checklist

doneachh commented 5 months ago

@energyLS i copied the function read_csv_nafix from pypsa-earth _helpers to pypsa-earth sec helpers. Otherwise i would have update the systempaths for the both scripts and i didnt know whats the more ugly / fancy development strategy.

Alternative:

import sys sys.path.append('./pypsa-earth/scripts')

in both scripts for the whole script