Opened 9 months ago

Closed 4 months ago

#1353 closed defect (fixed)

Datetime string representation in DescribeCoverage for temporal crs axes

Reported by: mdumitru Owned by:
Priority: major Milestone: 9.3
Component: petascope Version: development
Keywords: Cc:
Complexity: Medium

Description

We need to show the coefficients for irregular time axes in describe coverage responses as datetime string in ISO format (https://en.wikipedia.org/wiki/ISO_8601).

Take for example this DescribeCoverage? result http://ows.rasdaman.org/rasdaman/ows?service=WCS&version=2.0.1&request=DescribeCoverage&coverageId=AvgLandTemp
In it the coefficients (in this case they represent the number of days since 1600-01-01, but it depends on the temporal CRS) are:

<gmlrgrid:coefficients>
0 29 60 90 121 151 182 213 243 274 304 335 366 394 425 455 486 516 547 578 608 639 669 700 731 759 790 820 851 881 912 943 973 1004 1034 1065 1096 1124 1155 1185 1216 1246 1277 1308 1338 1369 1399 1430 1461 1490 1521 1551 1582 1612 1643 1674 1704 1735 1765 1796 1827 1855 1886 1916 1947 1977 2008 2039 2069 2100 2130 2161 2192 2220 2251 2281 2312 2342 2373 2404 2434 2465 2495 2526 2557 2585 2616 2646 2677 2707 2738 2769 2799 2830 2860 2891 2922 2951 2982 3012 3043 3073 3104 3135 3165 3196 3226 3257 3288 3316 3347 3377 3408 3438 3469 3500 3530 3561 3591 3622 3653 3681 3712 3742 3773 3803 3834 3865 3895 3926 3956 3987 4018 4046 4077 4107 4138 4168 4199 4230 4260 4291 4321 4352 4383 4412 4443 4473 4504 4534 4565 4596 4626 4657 4687 4718 4749 4777 4808 4838 4869 4899 4930 4961 4991 5022 5052 5083 5114 5142 5173 5203 5234 5264 5295 5326 5356 5387 5417 5448 5479 5507 5538 5568 5599
</gmlrgrid:coefficients>

They should instead be calculated and shown as strings:

<gmlrgrid:coefficients>
"2002-02-01T00:00:00" 2002-03-01T00:00:00" ...
</gmlrgrid:coefficients>

Change History (1)

comment:1 Changed 4 months ago by dmisev

  • Milestone changed from Future to 9.3
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.