-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change scheme of COSMO weather data #321
Conversation
bda154d
to
41ce1b6
Compare
Codecov Report
@@ Coverage Diff @@
## dev #321 +/- ##
============================================
+ Coverage 77.63% 77.67% +0.03%
- Complexity 2137 2140 +3
============================================
Files 271 271
Lines 8505 8465 -40
Branches 806 805 -1
============================================
- Hits 6603 6575 -28
+ Misses 1496 1492 -4
+ Partials 406 398 -8
Continue to review full report at Codecov.
|
…asedWeatherValueFactory
efd75ea
to
00859be
Compare
…emeOfCOSMOWeatherData
…emeOfCOSMOWeatherData
This comment has been minimized.
This comment has been minimized.
to location within the package structure
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please furthermore adapt the documentation in io/csvfiles.rst
.
* @param weatherFactory instance of a time based weather value factory | ||
*/ | ||
public SqlWeatherSource( | ||
SqlConnector connector, | ||
IdCoordinateSource idCoordinateSource, | ||
String schemaName, | ||
String weatherTableName, | ||
NamingConvention namingConvention, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the current condition of this constructor is quite confusing, as the provided namingConvention
only applies to the coordinate column name and not the others (such as the values of DIFFUSE_IRRADIANCE
and other in IconTimeBasedWeatherValueFactory
, which is also not adopted in #329).
I think it'd be best to either use it for all columns of this data type or none, if we introduce such an api change here (this is the first PR to use NamingConvention
). In the end, it's probably neater then to introduce the api change in a separate PR, where we can focus on that issue alone.
These changes could be introduced in conjunction with #514.
String keyPrefix, | ||
NamingConvention namingConvention, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as in SqlWeatherSource
# Conflicts: # CHANGELOG.md
This comment has been minimized.
This comment has been minimized.
As discussed, new PR: #558 |
Analysis Details2 IssuesCoverage and DuplicationsProject ID: edu.ie3:PowerSystemDataModel |
Resolves parts of #267.
Close #319 before!Includes:
Psdm
in it toCosmo