Skip to content
Jip Claassens edited this page Jun 3, 2026 · 2 revisions
unit<spoint> two_netcdf_bands
: StorageName     = "%projdir%/data/grid/netcdf/trETCCDI_yr_EC-Earth3_ssp126_r15i1p1f1_no-base_v20200201_2015-2100_v2-0.nc"
, StorageType     = "gdal.grid"
, StorageReadOnly = "True"
{
attribute<uint32> timestep_1 : SqlString = "BANDS=1";
attribute<uint32> timestep_2 : SqlString = "BANDS=2";
}

container read_netcdf_timesteps := for_each_ndvs(
	time_steps/name
		, two_netcdf_bands
		, uint32
		, "BANDS=" + string(time_steps/id)
		
), StorageName = "%projdir%/data/grid/netcdf/trETCCDI_yr_EC-Earth3_ssp126_r15i1p1f1_no-base_v20200201_2015-2100_v2-0.nc"
, StorageType     = "gdal.grid"
, StorageReadOnly = "True";

unit<uint32> time_steps := range(uint32, 1, 87)
{
attribute<uint32> id   := id(.);
attribute<string> name := "timestep_" + string(id);
}

Clone this wiki locally