Opened 12 years ago
Closed 11 years ago
#357 closed task (fixed)
Implement `pow()' WCPS function
Reported by: | Piero Campalani | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | critical | Milestone: | 9.0 |
Component: | petascope | Version: | 8.4 |
Keywords: | pow unary | Cc: | Peter Baumann |
Complexity: | Medium |
Description (last modified by )
Despite all exponentialExpr
are implemented in Petascope (see WCPS standard Sec.7.1.17), only pow(C,p)
function is missing, and should be implemented despite easily reproducible by means of sequences of products.
Pow is a unary expression (src/main/java/petascope/wcps/server/core/UnaryOperationCoverageExpr.java
).
Examples:
for c in (mean_summer_airtemp) return encode( coverage averagesOverTime over $T t(1:5) values pow($T,3), "csv")
for c in (mean_summer_airtemp) return encode( pow(c[x:"CRS:1"(100:101),y:"CRS:1"(300)],3), "csv")
See how other similar operators are implemented, e.g. log
, ln
, exp
.
Depends on #374
Change History (15)
comment:1 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 12 years ago
Cc: | added |
---|---|
Complexity: | Easy → Medium |
Resolution: | → fixed |
Status: | assigned → closed |
There's no pow
equivalent function in rasdaman, I guess that's why it wasn't implemented in petascope in the first place.
So the first task is to implement pow in rasdaman, and then in petascope.
comment:3 by , 12 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:4 by , 12 years ago
Description: | modified (diff) |
---|---|
Status: | reopened → assigned |
Opened ticket for rasdaman component (#374), this one will only address petascope component for WCPS compliance.
comment:5 by , 11 years ago
Patch for rasql has been submitted, how is implementation in petascope progressing?
comment:6 by , 11 years ago
Milestone: | Future → 8.4.3 |
---|
comment:7 by , 11 years ago
Milestone: | 8.4.3 → 8.4.4 |
---|
comment:8 by , 11 years ago
Milestone: | 8.4.4 → 8.5 |
---|
Marco, what's the status of this, it was supposed to be done quite some time ago?
comment:9 by , 11 years ago
The code is written, grammar updated. To be tested. Needed to restore Rasdaman installation because of an error in updating repository. Just recovered from it. The patch will be submitted soon.
comment:11 by , 11 years ago
Milestone: | 8.5 → 8.5.1 |
---|
I'm setting this to milestone 8.5.1 - end of August, let's please close it by then.
comment:12 by , 11 years ago
the patch has some issues, unfortunately, and needs extra effort from our side to close it. Indeed, should be closed soon.
comment:13 by , 11 years ago
Milestone: | 8.5.1 → 9.0 |
---|---|
Owner: | changed from | to
Priority: | minor → critical |
I can't find this patch in the patchmanager, can someone attach here?
Assigning that as initial easy task to familiarize with petascope code.