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

Implement the reformulated Raster Time Series specification #181

Closed
Tracked by #179
soaressgabriel opened this issue Mar 15, 2024 · 4 comments · Fixed by #193
Closed
Tracked by #179

Implement the reformulated Raster Time Series specification #181

soaressgabriel opened this issue Mar 15, 2024 · 4 comments · Fixed by #193
Assignees
Labels
enhancement New feature or request high High priority stale

Comments

@soaressgabriel
Copy link
Collaborator

soaressgabriel commented Mar 15, 2024

Description

Raster Time Series Specifications

  1. Time series of rasters explicitly defined with start and end dates for each raster (e.g. for $N$ months with $M$ rasters, where $M < N$):
"raster_series": {
  "landuse": [
    {
      "file_path": "/home/Workspaces/maps/lulc/cob.map",
      "from": { "$ref": "#/simulation_period/start" },
      "to": "2034-12-31"
    },
    {
      "file_path": "/home/Workspaces/maps/lulc/cobpr.map",
      "from": "2035-01-01",
      "to": { "$ref": "#/simulation_period/finish" }
    }
  ],
},
  1. Explicitly defined raster time series with 12 rasters to be repeated monthly in their respective month (e.g. for $N$ months with 12 rasters):
"raster_series": {
  "ndvi": {
    "monthly": [
      {
        "month": 1,
        "file_path": "/home/Workspaces/maps/ndvi0000.001"
      },
      {
        "month": 2,
        "file_path": "/home/Workspaces/maps/ndvi0000.002"
      },
      {
        "month": 3,
        "file_path": "/home/Workspaces/maps/ndvi0000.003"
      },
      {
        "month": 4,
        "file_path": "/home/Workspaces/maps/ndvi0000.004"
      },
      {
        "month": 5,
        "file_path": "/home/Workspaces/maps/ndvi0000.005"
      },
      {
        "month": 6,
        "file_path": "/home/Workspaces/maps/ndvi0000.006"
      },
      {
        "month": 7,
        "file_path": "/home/Workspaces/maps/ndvi0000.007"
      },
      {
        "month": 8,
        "file_path": "/home/Workspaces/maps/ndvi0000.008"
      },
      {
        "month": 9,
        "file_path": "/home/Workspaces/maps/ndvi0000.009"
      },
      {
        "month": 10,
        "file_path": "/home/Workspaces/maps/ndvi0000.010"
      },
      {
        "month": 11,
        "file_path": "/home/Workspaces/maps/ndvi0000.011"
      },
      {
        "month": 12,
        "file_path": "/home/Workspaces/maps/ndvi0000.012"
      }
    ],
},

Optionally, it should be possible to define a threshold year to use a raster file for all following months:

"raster_series": {
  "ndvi": {
    "monthly": [
      {
        "month": 1,
        "file_path": "/home/Workspaces/maps/ndvi0000.001"
      },
      //...
    ],
    "yearly_from": 2025,
    "yearly_file_path": "/home/Workspaces/maps/ndvipr.map"
  }
},
  1. Time series of rasters defined by a directory with a common prefix for the files (e.g. for $N$ months with $M = N$ rasters):
"raster_series": {
  "etp": {
    "dir_path": "/home/Workspaces/maps/etp/",
    "files_prefix": "etp"
  },
},

Solution

  • TBF

Alternative solution(s)

  • TBF

Additional context

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Apr 21, 2024
Copy link

github-actions bot commented May 5, 2024

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 5, 2024
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jun 14, 2024
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high High priority stale
Projects
None yet
1 participant