vergauwenthomas / PyFa

Python wrapper on Rfa using xarray
MIT License
0 stars 0 forks source link

CLI Enhancements Collections & Variables #50

Closed kobebryant432 closed 6 months ago

kobebryant432 commented 6 months ago

Often a collection (not only one file) would be converted to a netcdf using the CLI. For example, the last 5 timesteps before a crash or a specific event could be converted into one netCDF for analysis. Currently this would need to be done in python, or converted timestep by timestep. Something like:

pyfa -C "REGEX" var1,var2,var3

Specifying the variables would also be nice (although quite extensive) to limit the time to convert. This could be done for both the FaDataset conversions and the FaCollections.

vergauwenthomas commented 6 months ago

I might add it in v0.0.2 if i get to it today.