LabSid-USP/RUBEM

Implement the reformulated Raster Time Series specification

Closed this issue · 4 comments

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

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

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

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

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