-
Notifications
You must be signed in to change notification settings - Fork 39
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
What happens when fx_files are needed but not found? #103
Comments
the fallback option for preprocessor function (mask landsea) when no fx files are available or they're broken (sometimes they are!) is to use Natural Earth shapefiles (for masking land at a higher resolution and seas at a lower resolution, but both resolutions much higher than the highest model resolution ie 10m and 50m << 1km). This option is straightforward and precise (even more precise than the fx files themselves, which may not necessarily be a good thing though) BUT it's not implemented for irregular grids and will spit a Can you not use the masking functions before doing any statistical operations on the data? Or you actually need the fx files in your diagnostic to manipulate different ratios and stuff |
The In order to calculate an average over the data, we need to weight the mean by the size of the grid cells. We can't use the natural earth shape files to describe the grid area or volume as they are grid specific. |
ok, makes sense, dunno really, not sure what can be done if the fx files are not there at all, do however see the comment #24 (comment) since that will take care of about 90% of the problem 😁 |
At the moment, some of the preprocessors use
fx_files
(like masking, the area/volume statistics and the upcoming zonal/meridional statitistics).It's not obvious what should happen when
fx_files
are absent. In the case of model data, I think that the preprocessor should fail withoutfx_files
.In the case of observational data, if
fx_files
are absent, then the tool should be able to estimate the grid's area or volume.This is complicated by the fact that the statistics tools can apply several operators:
It's a bit confusing!
The text was updated successfully, but these errors were encountered: