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

Working with pixel size larger than 30m #15

Open
JestradaG opened this issue Apr 23, 2024 · 2 comments
Open

Working with pixel size larger than 30m #15

JestradaG opened this issue Apr 23, 2024 · 2 comments
Labels
enhancement New feature or request fuel Having to do with fuel data not planned This will not be worked on by project members operational Having to do with operational data pr recommended Project members recommend someone open a PR to address this issue

Comments

@JestradaG
Copy link

Hi, I wonder if there is any option to work with pixels of much larger dimension?

I want to use the output of your simulation as an input for an optimization model. I need data of an area on about 61km by size (square area) that is going to be composed of 600 grid cells. I wish to have each cell (2.4km x 2.4km) to be directly obtained form your simulation model.

Is there anyway to have aggregated data for larger areas to be simulated without a requirement of such granularity?

@doyled-it doyled-it added question Further information is requested fuel Having to do with fuel data operational Having to do with operational data labels Apr 26, 2024
@doyled-it
Copy link
Member

doyled-it commented May 7, 2024

Apologies for the late reply, but this would be a feature that we would require you to make into a PR and we can review and merge in.

The size of the data is currently directly dependent on the LANDFIRE API, and that only goes up to 90m resolution at its coarsest. If you wanted to make cells of much larger size, this would have to be interpolated after getting the data from LANDFIRE.

This is doable, but we don't currently have the development capacity to put towards this capability.

If you wanted to include this functionality, I would recommend putting a scaling factor in the config that is then propagated to an internal method (say named _upscale_area) of the LandFireLatLongBox class and put into the _make_data method.

Any further specifics could be discussed in a PR.

@doyled-it doyled-it added enhancement New feature or request not planned This will not be worked on by project members pr recommended Project members recommend someone open a PR to address this issue and removed question Further information is requested labels May 7, 2024
@doyled-it
Copy link
Member

doyled-it commented May 17, 2024

Update, it looks like landfire-python actually does support resampling, so this might be easier than anticipated. Still not on our radar for now, but definitely makes this a lighter load:

https://landfire-python.firesci.io/en/latest/usage.html#resampling-data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fuel Having to do with fuel data not planned This will not be worked on by project members operational Having to do with operational data pr recommended Project members recommend someone open a PR to address this issue
Projects
None yet
Development

No branches or pull requests

4 participants