Skip to content

[TimeController/DataSynchronizer] Wrong end data after dynamic adding DataSource #769

@mdhsl

Description

@mdhsl

After DataSynchronizer initialization, adding dataSource manually gives wrong endData to 2055 while startTime is correct.
It might be an issue into DataSynchronizer or/and TimeController:
way to reproduce

          const opts = {
            endpointUrl: 'api.georobotix.io/ogc/t18/api',
            resource: '/datastreams/khv081o7hpma2/observations',
            tls: true,
            startTime: '2023-06-06T14:01:12Z',
            endTime: '2023-06-06T22:53:14Z',
            mode: Mode.REPLAY,
            responseFormat: 'application/swe+binary',
            prefetchBatchSize: 250
          };
          const sweApiFetch = new SweApiFetch(opts);
          this.dataSynchronizer.addDataSource(sweApiFetch);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions