Closed vergauwenthomas closed 6 months ago
@vergauwenthomas
Agreed all in one approach is more flexible. I do believe that the data will become very big. If someone would want to do an analysis on the precipitation (10 years - daily) converting all files (all variables) is not feasible. Here a specific approach by specifying the required variables is more efficient.
Maybe these can somehow be combined?
@kobebryant432 Agreed! What i can do is add the whitelist_fields
and blacklist_fields
arguments to the all_in_one
method. By default, all available fields are imported. But if whitelist_fields
is specified, only these fields are imported. blacklist_fields
will be excluded from the import.
Implement:
I think the purpose of the PyFa python package is to
Case-specific approach
The strategy towards this (in #27), and in how we described the issues, is to implement functions/methods for specific cases like:
All-in-one approach
However, I am getting more in favor of not following this approach but implementing a function that converts a FA file (with all its fields) into one xarray dataset. Here are some benefits i can think of:
The drawbacks:
@kobebryant432, @wdewettin What is your opinion on this matter? Do you prefer specific-case approach or the all-in-one?