Open khaeru opened 4 years ago
I updated #182 to incorporate these methods.
The necessary code reveals that the signatures and return values of the Java get/set/delete methods for ordinary (float) timeseries data, and timeseries geodata, are quite different, even though (per above) the only substantive difference seems to be the type of the 'value' column.
If these discrepancies could be cleaned up on the Java side, then the JDBCBackend could also be simplified.
186 (superseding #165) added methods
TimeSeries.add_geodata
,TimeSeries.geodata
, etc. These are not fully documented.value
column stored/returned by these methods is a string, rather than a float: https://github.com/iiasa/ixmp/blob/1c3fc190281ea7588ea660ee883fb762bff1cfe4/tests/test_feature_geodata.py#L7-L16However, a new user who reads the actual documentation will not see either of these clues, and so will be mystified about:
At a minimum, these things need to be added to the method docstrings.