Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/actions/before-script/action.yml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these two lines removed? No longer required?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They were redundant to begin with apparently.

Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ runs:
bash Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/miniconda
echo "$HOME/miniconda/bin" >> $GITHUB_PATH
source "$HOME/miniconda/etc/profile.d/conda.sh"
conda init bash

source "$HOME/miniconda/etc/profile.d/conda.sh"
conda create --name testenv python=3.11 -y
conda activate testenv
conda install -c conda-forge poetry -y
Expand Down
4 changes: 4 additions & 0 deletions src/datastructures.jl
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ a Python function.
The default value is "Ninja".
- **`data_path`** is an optional file path for already downloaded data. The default value is
an empty datapath.
- **`source`** is the data source for wind data. The user can choose between the strings
"NORA3" and "ERA5". The default value is "NORA3".
"""
function WindPower(
id::Any,
Expand All @@ -97,6 +99,7 @@ function WindPower(
data::Vector{Data} = Data[],
method::String = "Ninja",
data_path::String = "",
source::String = "NORA3",
)
power = call_python_function(
"wind_power_timeseries",
Expand All @@ -106,6 +109,7 @@ function WindPower(
time_end = time_end,
method = method,
data_path = data_path,
source = source,
)
profile = OperationalProfile(power)

Expand Down
2 changes: 1 addition & 1 deletion submodules/wind_power_timeseries
Submodule wind_power_timeseries updated from e612ae to 515175