Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
diegomvd opened this issue Sep 19, 2022 · 0 comments

Comments

@diegomvd
Copy link
Contributor

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant