<?xml version="1.0"?>
<rss version="2.0"><channel><title>WAsP Python tools Latest Topics</title><link>https://www.wasptechnical.dk/forum/forum/19-wasp-python-tools/</link><description>WAsP Python tools Latest Topics</description><language>en</language><item><title>Weibull Fit Check</title><link>https://www.wasptechnical.dk/forum/topic/848-weibull-fit-check/</link><description><![CDATA[<p>
	Hi all,
</p>

<p>
	I have a question regarding the Weibull distributions that are being fit in PyWAsP and how they compare to the relative wind datasets.
</p>

<p>
	I'm trying to find a way to reproduce this table from WAsP (see <a href="https://www.pasteboard.co/EoaQZr9L_9fB.png" rel="external nofollow">here</a>), where the mean wind speed and wind power density are compared between the measured wind climate and the fitted (emergent) Weibull distribution, including the relative discrepancy.
</p>

<p>
	This information should be obtainable from the original Observed Wind Climate (OWC) files generated by WAsP. However, I am currently working with the BWC and WWC formats in PyWAsP, where it does not seem to be directly available.
</p>

<p>
	So far, I haven't found an easy way to replicate this in PyWAsP. Do you have any suggestions?<br />
	<br />
	Best regards
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">848</guid><pubDate>Thu, 16 Jul 2026 13:47:47 +0000</pubDate></item><item><title>Heat flux modelling</title><link>https://www.wasptechnical.dk/forum/topic/846-heat-flux-modelling/</link><description><![CDATA[<p style="background-color:#ffffff;color:#353c41;font-size:14px;">
	Hi all,
</p>

<p style="background-color:#ffffff;color:#353c41;font-size:14px;">
	I have a question regarding the configuration of the climate parameters in PyWAsP. I know that the T-star stability model has been introduced in WAsp 12.8, but sometimes we still prefer to model the old heat flux over land parameter (in the EWA profile model) to match measured vertical profiles.
</p>

<p style="background-color:#ffffff;color:#353c41;font-size:14px;">
	How can I do this in PyWAsP? I want to keep the latest flow model and change the heat flux. I tried this:
</p>

<pre class="ipsCode prettyprint prettyprinted"><span class="pln">config </span><span class="pun">=</span><span class="pln"> pw</span><span class="pun">.</span><span class="pln">wasp</span><span class="pun">.</span><span class="typ">Config</span><span class="pun">(</span><span class="str">"WAsP_12.10"</span><span class="pun">)</span><span class="pln">
config</span><span class="pun">.</span><span class="pln">climate</span><span class="pun">.</span><span class="pln">set_profile_model</span><span class="pun">(</span><span class="lit">2</span><span class="pun">)</span><span class="pln"> </span><span class="com">#WAsP 12.7 with EWA climate model</span><span class="pln">
config</span><span class="pun">.</span><span class="pln">climate</span><span class="pun">[</span><span class="str">'off_hfx_land'</span><span class="pun">]</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="lit">0</span></pre>

<p style="background-color:#ffffff;color:#353c41;font-size:14px;">
	I find the explanation in the user guide a bit confusing. Sometimes WAsP 12.7 is referred to as "1", but then I also see that the numbers go from -1 to 3 (see <a href="https://docs.wasp.dk/pywasp/latest/api_reference/wasp_parameters.html#wasp-parameters" rel="external nofollow">link 1</a> and <a href="https://docs.wasp.dk/pywasp/latest/api_reference/wasp_autogen/pywasp.wasp.Config.html" rel="external nofollow">link 2</a>). Can you give some clarifications on this, please?<br />
	<br />
	Best regards
</p>
]]></description><guid isPermaLink="false">846</guid><pubDate>Mon, 29 Jun 2026 06:42:11 +0000</pubDate></item><item><title>Errors when performing calculations in PyWAsP</title><link>https://www.wasptechnical.dk/forum/topic/843-errors-when-performing-calculations-in-pywasp/</link><description><![CDATA[<p>
	Dear PyWAsP team,
</p>

<p>
	I am having problems when running calculations in PyWAsP for my own projects. Note that I have the same issues when running the tutorial notebooks.
</p>

<p>
	<strong>1)</strong> <strong>When I call <em>pw.potential_aep</em> I get the following error:</strong>
</p>

<p>
	aep_park2 = pw.potential_aep(<br />
	    wwc,<br />
	    wtg,<br />
	    wind_farm_model="PARK2_onshore",<br />
	    turbulence_intensity=0.0<br />
	)<br />
	TypeError: Passing a Dataset as `data_vars` to the Dataset constructor is not supported. Use `ds.copy()` to create a copy of a Dataset.
</p>

<p>
	This is odd as I'm running the exact same command for the gross_aep, which does work. 
</p>

<p>
	<br />
	<strong>2)</strong> <strong>From the same function, I noticed that if I don't specify the turbulence intensity, I get:</strong>
</p>

<p>
	"turbulence_intensity is not in the WWC and no explicit value was passed"
</p>

<p>
	which reading from the documentation, should be automatically retrieved from the wwc. Is the TI not calculated when using the linear model?
</p>

<p>
	<br />
	<strong>3) I also have a question regarding the <em>predict_wwc</em> input parameter <em>adapt_gwc</em>. </strong> From the documentation I read: "Adapt the standard heights and roughnesses in the gwc to match  those of the input and output site_effects."
</p>

<p>
	But how do I know which values are being used? I would like to be able to specify my own values, similarly to what I have found in the deprecated function: 
</p>

<p>
	def generalize_and_downscale(<br />
	    bwc, topo_map, output_locs, generalize_kwargs={}, downscale_kwargs={}<br />
	)<br />
	<br />
	<strong>4) Lastly, I noticed that calling <em>predict_wwc </em>consumes 3 runs instead of the 2 specified on your website. Did you recently make any changes to this?</strong>
</p>

<p>
	 
</p>

<p>
	Best regards
</p>
]]></description><guid isPermaLink="false">843</guid><pubDate>Tue, 09 Jun 2026 09:46:16 +0000</pubDate></item><item><title>atmospheric stability data download</title><link>https://www.wasptechnical.dk/forum/topic/836-atmospheric-stability-data-download/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	I managed to download ERA5 data with Windkit, but it does not contain enough data to be able to compute a stability metric (MOL, or Ri).
</p>

<p>
	Apart from a direct ERA5 download from the ECMWF (slow), can anyone suggest any other way to download time-series of stability? Or alternatively, atmospheric stability statistics?
</p>

<p>
	Thank you.
</p>
]]></description><guid isPermaLink="false">836</guid><pubDate>Mon, 30 Mar 2026 15:10:19 +0000</pubDate></item><item><title>downloading GWA data within windkit?</title><link>https://www.wasptechnical.dk/forum/topic/835-downloading-gwa-data-within-windkit/</link><description><![CDATA[<p>
	Hello, <br />
	<br />
	I saw a "wind-stats" python package which seems to be able to retrieve GWA wind climate.
</p>

<p>
	1. Is this package independent from DTU's?
</p>

<p>
	2. Is there any alternative within Windkit to do something similar?
</p>

<p>
	Thank you
</p>
]]></description><guid isPermaLink="false">835</guid><pubDate>Mon, 30 Mar 2026 15:05:08 +0000</pubDate></item><item><title>message "Please enter your email adress. "</title><link>https://www.wasptechnical.dk/forum/topic/810-message-please-enter-your-email-adress/</link><description><![CDATA[<p>
	Dear Team,
</p>

<p>
	quite surprisingly, WAsP Climate analyst 3 (ver.3.01.0049) , windographer WAsP algortithm (ver.5.3.1), windPRO (ver.4.1.263) WAsP algorithm, and python coding results with reference to "<a href="https://onlinelibrary.wiley.com/doi/10.1155/2020/3638423?msockid=152ea1349a1c676001b5b4639b71667f" rel="external nofollow">Comparison of Weibull Estimation Methods for Diverse Winds - Bingöl - 2020 - Advances in Meteorology - Wiley Online Library</a>" and "Fitting Weibull Parameters for Wind Energy<br />
	Applications-EMD", they all shows different A,k,f, Vmean values.
</p>

<p>
	therefore, I was trying to use "Windkit (ver.0.8.0).
</p>

<p>
	time series fit - overall value, with from windkit.weibull import _fit_wasp_m1_m3_fgt works well.
</p>

<p>
	but to check sectorwise --&gt; combined &amp; emergent might be tricky.
</p>

<p>
	i got stuck in sector wise fit. 
</p>

<p>
	the main issue is wind data without core information that are required by windkit (south_north, west_east, height, crs) linked to time series data.
</p>

<p>
	wind data has typical time stamp , wind speed, wind direction at different heights or several files.
</p>

<p>
	the wind data has read csv format using pandas. To use windkit, it is converted to Xrray.
</p>

<p>
	for example, four information was read in csv format and try to inject. 
</p>

<p>
	def run_windkit_sectorwise(df, turbine_ids, turbine_coords, epsg=xxxxx, output_dir="Windkit_output"):
</p>

<p>
	...
</p>

<p>
	            # Build Dataset<br />
	            ds = xr.Dataset(<br />
	                {<br />
	                    "wind_speed": (("time",), ws.values),<br />
	                    "wind_direction": (("time",), wd.values)<br />
	                },<br />
	                coords={<br />
	                    "time": ("time", ws.index),<br />
	                    "point": [0],<br />
	                    "south_north": ("point", [coords["y"]]),<br />
	                    "west_east": ("point", [coords["x"]]),<br />
	                    "height": ("point", [coords["height"]])<br />
	                }<br />
	            )
</p>

<p>
	            # Add CRS before calling WindKit<br />
	            ds = add_crs(ds, epsg)<br />
	            <br />
	            # Call WindKit<br />
	            bwc = bwc_from_timeseries(ds, nsec=12)
</p>

<p>
	...
</p>

<p>
	based on other discussion of similar issues, this worked and i tried to do with different ways, but in the end, 
</p>

<p>
	i received "Please enter your email adress." and if i put my email address, then ask me "institution", instead of error message.
</p>

<p>
	i gave up now as I cannot proceed any further without any error messages.
</p>

<p>
	hope your team improve the message to trace it better and easy-to-use.
</p>

<p>
	or might be good idea to provide the best structured file sample, which i could not find "<a href="https://docs-wasp.ramtt.xyz/windkit/index.html" rel="external nofollow">WindKit — windkit 0.8.0 documentation</a>".
</p>

<p>
	Regards,
</p>

<p>
	Gyeongil
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">810</guid><pubDate>Fri, 30 May 2025 10:34:01 +0000</pubDate></item><item><title>[WindKit] Timeseries to binned wind climate</title><link>https://www.wasptechnical.dk/forum/topic/741-windkit-timeseries-to-binned-wind-climate/</link><description><![CDATA[<p>
	Hi!
</p>

<p>
	I am trying to use WindKit to create a .tab file via a binned wind climate. However, I get an error when I try and run the code.
</p>

<p>
	The minimum working example is:
</p>

<pre class="ipsCode prettyprint prettyprinted"><span class="kwd">import</span><span class="pln"> windkit
</span><span class="kwd">import</span><span class="pln"> pandas </span><span class="kwd">as</span><span class="pln"> pd
</span><span class="kwd">import</span><span class="pln"> numpy </span><span class="kwd">as</span><span class="pln"> np
</span><span class="kwd">import</span><span class="pln"> random
</span><span class="kwd">import</span><span class="pln"> xarray </span><span class="kwd">as</span><span class="pln"> xr

</span><span class="com"># Function to make dummy dataframe</span><span class="pln">
</span><span class="kwd">def</span><span class="pln"> dummy_df</span><span class="pun">(</span><span class="pln">size</span><span class="pun">):</span><span class="pln">
    df </span><span class="pun">=</span><span class="pln"> pd</span><span class="pun">.</span><span class="typ">DataFrame</span><span class="pun">(</span><span class="pln">zip</span><span class="pun">([</span><span class="pln">random</span><span class="pun">.</span><span class="pln">uniform</span><span class="pun">(</span><span class="lit">0</span><span class="pun">,</span><span class="pln"> </span><span class="lit">25</span><span class="pun">)</span><span class="pln"> </span><span class="kwd">for</span><span class="pln"> i </span><span class="kwd">in</span><span class="pln"> range</span><span class="pun">(</span><span class="pln">size</span><span class="pun">)],</span><span class="pln"> </span><span class="pun">[</span><span class="pln">random</span><span class="pun">.</span><span class="pln">uniform</span><span class="pun">(</span><span class="lit">0</span><span class="pun">,</span><span class="pln"> </span><span class="lit">360</span><span class="pun">)</span><span class="pln"> </span><span class="kwd">for</span><span class="pln"> i </span><span class="kwd">in</span><span class="pln"> range</span><span class="pun">(</span><span class="pln">size</span><span class="pun">)]),</span><span class="pln">
                      index</span><span class="pun">=</span><span class="pln">pd</span><span class="pun">.</span><span class="pln">date_range</span><span class="pun">(</span><span class="str">"01-01-2023 00:00:00"</span><span class="pun">,</span><span class="pln"> periods</span><span class="pun">=</span><span class="pln">size</span><span class="pun">,</span><span class="pln"> freq</span><span class="pun">=</span><span class="str">"10T"</span><span class="pun">),</span><span class="pln"> columns</span><span class="pun">=[</span><span class="str">'wind_speed'</span><span class="pun">,</span><span class="pln"> </span><span class="str">'wind_direction'</span><span class="pun">])</span><span class="pln">
    df</span><span class="pun">.</span><span class="pln">index</span><span class="pun">.</span><span class="pln">name </span><span class="pun">=</span><span class="pln"> </span><span class="str">'time'</span><span class="pln">
    df </span><span class="pun">=</span><span class="pln"> np</span><span class="pun">.</span><span class="pln">round</span><span class="pun">(</span><span class="pln">df</span><span class="pun">,</span><span class="pln"> </span><span class="lit">2</span><span class="pun">)</span><span class="pln">
    </span><span class="kwd">return</span><span class="pln"> df

</span><span class="com"># Dummy pandas dataframe</span><span class="pln">
DF </span><span class="pun">=</span><span class="pln"> dummy_df</span><span class="pun">(</span><span class="lit">144</span><span class="pun">)</span><span class="pln">

</span><span class="com"># Dataframe to xarray dataset</span><span class="pln">
DS </span><span class="pun">=</span><span class="pln"> xr</span><span class="pun">.</span><span class="typ">Dataset</span><span class="pun">.</span><span class="pln">from_dataframe</span><span class="pun">(</span><span class="pln">DF</span><span class="pun">)</span><span class="pln">

</span><span class="com"># Assign coords to dataset</span><span class="pln">
DS </span><span class="pun">=</span><span class="pln"> DS</span><span class="pun">.</span><span class="pln">assign_coords</span><span class="pun">({</span><span class="str">"west_east"</span><span class="pun">:</span><span class="lit">0</span><span class="pun">,</span><span class="str">"south_north"</span><span class="pun">:</span><span class="lit">0</span><span class="pun">,</span><span class="str">"height"</span><span class="pun">:</span><span class="lit">90.0</span><span class="pun">})</span><span class="pln">

</span><span class="com"># Add CRS to dataset</span><span class="pln">
windkit</span><span class="pun">.</span><span class="pln">add_crs</span><span class="pun">(</span><span class="pln">DS</span><span class="pun">,</span><span class="pln"> </span><span class="lit">4326</span><span class="pun">)</span><span class="pln">

</span><span class="com"># Create binned wind cliamte from timeseries</span><span class="pln">
bwc </span><span class="pun">=</span><span class="pln"> windkit</span><span class="pun">.</span><span class="pln">bwc_from_timeseries</span><span class="pun">(</span><span class="pln">
    ts</span><span class="pun">=</span><span class="pln">DS
</span><span class="pun">)</span><span class="pln">

</span><span class="com"># Create .tab file from binned wind climate</span><span class="pln">
windkit</span><span class="pun">.</span><span class="pln">binned_wind_climate</span><span class="pun">.</span><span class="pln">bwc_to_tabfile</span><span class="pun">(</span><span class="pln">
    bwc</span><span class="pun">=</span><span class="pln">bwc
</span><span class="pun">)</span></pre>

<p>
	And I get the following error:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">Traceback (most recent call last):

  File "C:\Appl\venv\lib\site-packages\spyder_kernels\py3compat.py", line 356, in compat_exec
    exec(code, globals, locals)

  File "c:\users\nga\onedrive - equinor\documents\tab_files.py", line 30, in </span><span class="tag">&lt;module&gt;</span><span class="pln">
    bwc = windkit.bwc_from_timeseries(

  File "C:\Appl\venv\lib\site-packages\windkit\_validate.py", line 66, in validate
    obj = args[0]

IndexError: tuple index out of range</span></pre>

<p>
	Any advice on where I might be going wrong?
</p>

<p>
	Thanks in advance,
</p>

<p>
	Nils
</p>
]]></description><guid isPermaLink="false">741</guid><pubDate>Fri, 27 Oct 2023 11:39:53 +0000</pubDate></item><item><title>Issue with windkit's to_rsffile function</title><link>https://www.wasptechnical.dk/forum/topic/709-issue-with-windkits-to_rsffile-function/</link><description><![CDATA[<p>
	Hi all,
</p>

<p>
	I am trying to use PyWAsP to export weibull wind climates as rsf and wrg files but have been having trouble with the windkit to_rsffile and to_wrgfile functions. <br />
	After loading in a tab file, contour map, roughness map, and turbine locations, I calculated the generalised wind climate and the predicted wind climate at each turbine. I then attempted to output the results to an rsf using the code below but I keep getting the following error.
</p>

<pre class="ipsCode prettyprint prettyprinted"><span class="pln">site_effects </span><span class="pun">=</span><span class="pln"> topo_map</span><span class="pun">.</span><span class="pln">get_site_effects</span><span class="pun">(</span><span class="pln">output_locs</span><span class="pun">,</span><span class="pln"> nsecs</span><span class="pun">=</span><span class="lit">12</span><span class="pun">)</span><span class="pln">

pwc_rsf </span><span class="pun">=</span><span class="pln"> pw</span><span class="pun">.</span><span class="pln">wasp</span><span class="pun">.</span><span class="pln">get_wasp_down</span><span class="pun">(</span><span class="pln">gwc</span><span class="pun">,</span><span class="pln"> site_effects</span><span class="pun">,</span><span class="pln"> genwc_interp</span><span class="pun">=</span><span class="str">"nearest"</span><span class="pun">)</span><span class="pln">

wk</span><span class="pun">.</span><span class="pln">to_rsffile</span><span class="pun">(</span><span class="pln">pwc_rsf</span><span class="pun">,</span><span class="pln"> </span><span class="str">'test.rsf'</span><span class="pun">)</span></pre>

<pre class="ipsCode">KeyError                                  Traceback (most recent call last)
File ~/mambaforge/envs/pywasp_env/lib/python3.8/site-packages/xarray/core/dataset.py:1340, in Dataset._construct_dataarray(self, name)
   1339 try:
-&gt; 1340     variable = self._variables[name]
   1341 except KeyError:

KeyError: 'elevation'

During handling of the above exception, another exception occurred:

KeyError                                  Traceback (most recent call last)
Cell In[104], line 1
----&gt; 1 wk.to_rsffile(pwc_rsf, 'test.rsf')

File ~/mambaforge/envs/pywasp_env/lib/python3.8/site-packages/windkit/weibull_wind_climate.py:408, in to_rsffile(wwc, rsffile, wrg_header)
    398 def to_rsffile(wwc, rsffile, wrg_header=False):
    399     """Write weibull wind climate dataset to .rsf file.
    400 
    401     Parameters
   (...)
    406         Path to .rsf file
    407     """
--&gt; 408     return _to_resource_file(wwc, rsffile, wrg_header=wrg_header)

File ~/mambaforge/envs/pywasp_env/lib/python3.8/site-packages/windkit/_validate.py:71, in create_validator.&lt;locals&gt;.validator_wrapper.&lt;locals&gt;.validate(*args, **kwargs)
     68 # Do bwc checks
     69 validator(obj)  # Raises ValueError if errors exist
---&gt; 71 result = func(*args, **kwargs)
     72 return result

File ~/mambaforge/envs/pywasp_env/lib/python3.8/site-packages/windkit/weibull_wind_climate.py:363, in _to_resource_file(wwc, rsffile, wrg_header)
    360 wwc_cp["k"] = (wwc_cp["k"] * 100.0).astype(np.int16)
    361 wwc_cp["wdfreq"] = (wwc_cp["wdfreq"] * 1000.0).astype(np.int16)
--&gt; 363 df = wwc_cp["elevation"].to_dataframe().reset_index()
    364 new_columns = ["point", "Name", "west_east", "south_north", "elevation", "height"]
    365 df = df.reindex(columns=new_columns)

File ~/mambaforge/envs/pywasp_env/lib/python3.8/site-packages/xarray/core/dataset.py:1431, in Dataset.__getitem__(self, key)
   1429     return self.isel(**key)
   1430 if utils.hashable(key):
-&gt; 1431     return self._construct_dataarray(key)
   1432 if utils.iterable_of_hashable(key):
   1433     return self._copy_listed(key)

File ~/mambaforge/envs/pywasp_env/lib/python3.8/site-packages/xarray/core/dataset.py:1342, in Dataset._construct_dataarray(self, name)
   1340     variable = self._variables[name]
   1341 except KeyError:
-&gt; 1342     _, name, variable = _get_virtual_variable(self._variables, name, self.dims)
   1344 needed_dims = set(variable.dims)
   1346 coords: dict[Hashable, Variable] = {}

File ~/mambaforge/envs/pywasp_env/lib/python3.8/site-packages/xarray/core/dataset.py:178, in _get_virtual_variable(variables, key, dim_sizes)
    176 split_key = key.split(".", 1)
    177 if len(split_key) != 2:
--&gt; 178     raise KeyError(key)
    180 ref_name, var_name = split_key
    181 ref_var = variables[ref_name]

KeyError: 'elevation'
</pre>

<p>
	Does anyone know why I'm getting this error and/or how I could fix this issue? Am I missing some steps between downscaling to a wwc and outputting the rsf?
</p>

<p>
	Any help is much appreciated, thank you 
</p>
]]></description><guid isPermaLink="false">709</guid><pubDate>Thu, 08 Jun 2023 14:56:40 +0000</pubDate></item><item><title>Pywasp and pywake</title><link>https://www.wasptechnical.dk/forum/topic/708-pywasp-and-pywake/</link><description><![CDATA[<p>
	I want to run the pywasp in my locally for a college project, how can I install Pywasp on my pc without a license, kindly help me to understand Pywasp 
</p>
]]></description><guid isPermaLink="false">708</guid><pubDate>Wed, 17 May 2023 15:39:31 +0000</pubDate></item><item><title>MCP in Python</title><link>https://www.wasptechnical.dk/forum/topic/701-mcp-in-python/</link><description><![CDATA[<p>
	Dear all,
</p>

<p>
	I am a master's student at Wind Power. Now, I am writing my thesis about wind resource assessment. I need to do MCP in Python, but my coding skills are limited. I am doing it at WindPRO but need to do it in open source for my thesis. I am trying to write code in Python, but it is time-consuming, and I am unsure about the results. Is there any change to apply the same WindPRO MCP routines in Python? If yes, how can I do it? I found Windkit here, but I have no idea how to implement it. I need your expertise.<br />
	<br />
	Your answers are highly appreciated!
</p>

<p>
	Thanks a lot!
</p>
]]></description><guid isPermaLink="false">701</guid><pubDate>Sun, 02 Apr 2023 09:30:57 +0000</pubDate></item><item><title>[Windkit] 10min data to tab</title><link>https://www.wasptechnical.dk/forum/topic/699-windkit-10min-data-to-tab/</link><description><![CDATA[<p>
	Hello ex-colleagues!
</p>

<p>
	I am just being lazy and wanted to take advantage of Windkit's histogram plots, windrose plots and weibull fitting.
</p>

<p>
	 i can't remember/find if the conversion from 10min statistics (well organized in a Pandas dataframe) to a tabfile is currently part of the package or not yet.
</p>

<p>
	My regards to everyone in RAM!
</p>

<p>
	Andrea
</p>
]]></description><guid isPermaLink="false">699</guid><pubDate>Thu, 02 Mar 2023 15:36:28 +0000</pubDate></item><item><title>how to use PyWAsP or process</title><link>https://www.wasptechnical.dk/forum/topic/689-how-to-use-pywasp-or-process/</link><description><![CDATA[<p>
	Dear Team, 
</p>

<p>
	one of my colleagues aske me if we can use or how to use Pywasp.
</p>

<p>
	he refers to this documents: <a href="https://wes.copernicus.org/articles/5/1679/2020/wes-5-1679-2020.pdf" rel="external nofollow">https://wes.copernicus.org/articles/5/1679/2020/wes-5-1679-2020.pdf</a> and want to apply his project.
</p>

<p>
	based on the available information: <a href="https://docs.wasp.dk/pywasp/installation.html" rel="external nofollow">https://docs.wasp.dk/pywasp/installation.html</a>
</p>

<p>
	/
</p>

<p>
	<span style="background-color:#fcfcfc;color:#404040;font-size:16px;">You will be prompted for the url and port number of your license server, which should be provided by your institution. From there, you will be able to access all of the<span> </span></span><span style="background-color:#fcfcfc;color:#404040;font-size:16px;">pywasp_api</span><span style="background-color:#fcfcfc;color:#404040;font-size:16px;"><span> </span>from the<span> </span></span><em style="background-color:#fcfcfc;color:#404040;font-size:16px;">pw</em><span style="background-color:#fcfcfc;color:#404040;font-size:16px;"><span> </span>namespace.</span>
</p>

<p>
	/
</p>

<p>
	it seems like we need to first contact someone responsible for it and get and API or some information to access.
</p>

<p>
	my company has already use commerical WAsP/WAsP eng. if this is necessary to use.
</p>

<p>
	Could you please advise me how to use pywasp?
</p>

<p>
	Regards,
</p>

<p>
	Gyeongil
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">689</guid><pubDate>Wed, 14 Dec 2022 17:59:55 +0000</pubDate></item><item><title>Windkit: Possible bug when infering number of sectors from RSF file</title><link>https://www.wasptechnical.dk/forum/topic/670-windkit-possible-bug-when-infering-number-of-sectors-from-rsf-file/</link><description><![CDATA[<p>
	Hi WAsP team,
</p>

<p>
	First of all thank you for providing these tools.
</p>

<p>
	I think the windkit conversion from RSF files contains a bug: When it tries to infer the number of sectors in the source file (in _infer_resource_file_nsec), the lines are split and counted:
</p>

<pre style="color:#404040;font-size:12px;padding:12px;">    <span style="color:#007020;">return</span> <span>(</span><span style="color:#007020;">len</span><span>(</span><span>line</span><span style="color:#666666;">.</span><span>split</span><span>())</span> <span style="color:#666666;">-</span> <span style="color:#208050;">9</span><span>)</span> <span style="color:#666666;">//</span> <span style="color:#208050;">3</span></pre>

<p>
	<span style="color:#208050;">However, this doesn't seem to account for occasions where some of the columns in the RSF file adhere to the column width specs, but don't have a space in between, like here:</span>
</p>

<p>
	<span style="color:#208050;">Point   726452.0 5781855.8   <u><strong>130.5149.0</strong></u> 9.54 2.244        633.900 12  78 116  235  24  77  207  35  72  246  99  83  278  92  80  260  36  77  244  51  77  232  93  82  238 124  87  240 140 101  247 110 115  263 118 122  272<br />
	Point   726452.0 5781880.8   <u><strong>130.8149.0</strong></u> 9.54 2.244        633.700 12  78 116  235  24  77  207  35  72  246  99  83  278  92  80  260  36  77  244  51  77  232  93  82  238 124  87  240 140 101  247 110 115  263 118 122  272</span>
</p>

<p>
	It can also be problematic when the text string in the first ten columns is an empty string.
</p>

<p>
	Is there a reason not to read the number of sectors from columns 70-72?
</p>

<p>
	Cheers,<br />
	Florian<br />
	 
</p>
]]></description><guid isPermaLink="false">670</guid><pubDate>Tue, 26 Jul 2022 17:49:24 +0000</pubDate></item><item><title>PackagesNotFoundError: The following packages are not available from current channels:    - wind-validation</title><link>https://www.wasptechnical.dk/forum/topic/666-packagesnotfounderror-the-following-packages-are-not-available-from-current-channels-wind-validation/</link><description><![CDATA[<p>
	Current channels:<br />
	  - <a href="https://conda.windenergy.dtu.dk/channel/open/win-64" rel="external nofollow">https://conda.windenergy.dtu.dk/channel/open/win-64</a><br />
	  - <a href="https://conda.windenergy.dtu.dk/channel/open/noarch" rel="external nofollow">https://conda.windenergy.dtu.dk/channel/open/noarch</a>
</p>

<p>
	Above channels are already in the current list <br />
	 
</p>
]]></description><guid isPermaLink="false">666</guid><pubDate>Sat, 09 Apr 2022 19:22:25 +0000</pubDate></item></channel></rss>
