All major changes are listed here.
Dependency updates: Python 3.8 & numpy 1.21 no longer supported following NEP 29. Windkit 0.6.3 is now required to support the
pywasp.wasp.TopographyMap.get_rou_rosenow allows to add displacements to the orographic grid, using the new
elev_roseis None, a dummy elevation rose is created.
pywasp.wasp.interpolate_gwcnow returns an interpolated generalized wind climate dataset with height coordinates.
download_global_nc_filesin the pywasp.cfg file, will not prevent any text from showing when importing PyWAsP. Previously it would print a message about how to get the files on each import. If you need the files, you will be prompted to download at that time. See the User Configuration Documentation to see all options of the config file.
Update netCDF file with CFSR baroclinicity information. The data is the same but the data variable names are updated. It does not affect the behavior.
pywasp.wasp.interpolate_gwcwill issue a warning if it is used with datasets with geographical coordinates for “nearest” and “natural” methods.
pywasp.io.rastermap_to_vectormapwill only raises errors related with the parameter
dzwhen the raster map type is
pywasp.wasp.aep.gross_aepincorrectly assumed most wind turbines were stall regulated. This means that when using the
interpolation=Trueoption, that incorrect air density corrections were applied. This has been fixed by an update in WindKit that requires the
control_systemvariable to be defined on a wind turbine generator. This value is now used to apply the correct air density correction to the power curves.
pywasp.wasp.Configobject and returns an
xarray.Datasetmeso climate object compatible with the profile model set in the config.
baro_sourcenow both allow for
Noneto be set. This creates a dataset with 0-valued fields for the given source.
Update netCDF file with CFSR baroclinicity information to version 3. The data is the same, but the data variable names are updated. This does not affect the behavior.
Fixed license check error for new version of DTU License server
Corrected import of
pywasp.wasp.interpolate_gwcnow returns an interpolated generalized wind climate dataset with height coordinates. This makes it more robust to different spatial structures of generalized wind climates and output_locs, when used for downscaling.
pywasp.wasp.config.Configobjects are deprecated. Use square brackets instead.