Closed tabrasel closed 4 years ago
To flesh out desirable functionality, this task should be approached as having two parts:
If any of the above variables don't make sense at the surface (e.g. vertical motion) just leave them off the list.
Right now, I don't think any additional functions are necessary for subsetting, since wrf_load()
already provides a lot of helpful features like specifying variables and cropping the spatial domain (the whole rasterization process also helps compress the final result). All that's left is to save the raster object as an "xz" compressed .rda
file, which could maybe warrant a tiny wrf_save()
wrapper function.
I also updated wrf_load()
so that, if you pass in no vars
argument, it will load all of the variables you listed there except "W", which is the vertical wind velocity.
Raw WRF model run output is usually upwards of several hundred Megabytes. Not all of the information contained is relevant though, and it would make sense to save only the important bits by cropping out unneeded regions or stripping away irrelevant variables. These subsets could then be stored in a user-specified data directory (different from WRFDataDir?)