We don’t have anything handy to support this right now. We no longer have tiles like we did for BELD4.
We have considered a program to support this in the future.
I wonder if you could prepare it at 1km for an overlapping grid and then write some sort of sampling process to pick the numbers from the grid cell with most overlap.
The Spatial Allocator might be able to take a 1km file and map it to your 1.33grid, but I’m not sure.
I’ll let you know if we decide to go ahead and prepare a program or function to support this.
@eyth.alison Maybe I spoke too soon - I tried running BEIS 3.7 with the interpolated file for our WF13UDAQ domain. Normbeis crashes with missing emission factors from B3GRD. I took a screenshot of an ncdump on my WF13UDAQ B3GRD (above).
The output from the spatial allocator looks great in VERDI, here is an example:
Hi @eyth.alison - just flagging this thread again - the tool you provided works on its own to produce BELD files that look OK in VERDI. But the BELD files do not seem to be working with BEIS (see my most recent reply). I’ve never seen this error in running BEIS previously - could it be related to the BELD file from the tool?
Trying to do something similar and I’m having trouble following the process:
So, to create a BELD5 file for a 1.33 km that does not align with the 1-Km BELD5 input .nc4 file that is provided with the beld5_regrid_scripts, one has to:
Have a working Spatial allocator v4.4 to subset for a new grid, 1-km larger in all sides than the target 1.33 domain.
Modify and run spatial_allocator.csh (Note: the default file has mixed INPUT_GRID_NAME and INPUT_FILE_MAP_PRJN values)
Run the subset_aggwnw.csh for the final 1.33 domain
Remove the COL and ROW variables from the file manually?
For anyone else in a similar situation, here is the correct processing order:
Run the subset_aggwndw.csh on the original large 1 km BELD5 LULC netCDF to create a subset domain that matches the output 1.33 km domain with a 1 grid cell buffer.
Run the spatial allocator on the output of aggwndw to convert the buffered 1 km subset domain to your output 1.33 km domain. (INPUT_GRID_NAME and INPUT_FILE_MAP_PRJN values are not reversed in the csh script, they are reversed in the SA code)
Manually remove the COL and ROW variables from the netCDF output using the m3xtract tool.