Closed danfruehauf closed 10 years ago
Based on https://github.com/aodn/aodn-portal/issues/1093
This is probably related to rounding/conversion of times as it doesn't happen with all files, just with some.
This will yield an error:
ncks -a -4 -O -d TIME,2014-04-14T03:00:00.000Z,2014-04-14T07:00:00.000Z -d LATITUDE,-90.0,90.0 -d LONGITUDE,-180.0,180.0 /tmp/tmp.4sGKIqOfcX/IMOS_ACORN_V_20140414T070000Z_TURQ_FV00_1-hour-avg.nc /tmp/tmp.YwV1QVi2xh
This wouldn't (07:00:00.001):
ncks -a -4 -O -d TIME,2014-04-14T03:00:00.000Z,2014-04-14T07:00:00.001Z -d LATITUDE,-90.0,90.0 -d LONGITUDE,-180.0,180.0 /tmp/tmp.4sGKIqOfcX/IMOS_ACORN_V_20140414T070000Z_TURQ_FV00_1-hour-avg.nc /tmp/tmp.YwV1QVi2xh
This wouldn't either (remove TIME=):
ncks -a -4 -O -d LATITUDE,-90.0,90.0 -d LONGITUDE,-180.0,180.0 /tmp/tmp.4sGKIqOfcX/IMOS_ACORN_V_20140414T070000Z_TURQ_FV00_1-hour-avg.nc /tmp/tmp.YwV1QVi2xh
Looking at the options above, since gogoduck aggregates by time via geoserver (gets only the files with the relevant time), it is possible to just omit the -d TIME= option when aggregating.
-d TIME=
Based on https://github.com/aodn/aodn-portal/issues/1093
This is probably related to rounding/conversion of times as it doesn't happen with all files, just with some.
This will yield an error:
This wouldn't (07:00:00.001):
This wouldn't either (remove TIME=):