Skip to content

Failing to set temporal context from a k.Actors script using the context verb #12

@diegomvd

Description

@diegomvd

Desired behavior
I am looking to produce tables of land-cover account passing the following arguments to the context verb inside a k.Actors script:

  1. The spatial context URN
  2. The spatial resolution
  3. The temporal context
  4. The land-cover account table URN

Issue
I am obtaining empty tables both in dynamic and static contexts. If the time is let unspecified, static observations are produced and they are associated to year 2021 systematically and exclusively. It seems that specifying the temporal context explicitly is not working or I am doing it in a wrong way.

Here is a set of minimal examples with the syntax I used for setting temporal context. For simplicity I put elevation as the observable, instead of a table.

Dynamic context:

spatial_context_urn = 'local:srwohl:im.data.global:im-data-global-geography_global_countries#iso3=ITA' 
spatial_resolution = 10.km
observable = {geography:Elevation}
context( spatial_context_urn, spatial_resolution, time(start = 1990, end = 2016, step = 1.year), observable )

Static context:

context( spatial_context_urn, spatial_resolution, time = 1990,observable)

Unspecified temporal context, automatically set to 2021:

context( spatial_context_urn, spatial_resolution,observable)

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