I would like to extend the nest forcing interpolation to other products than standard cmems (e.g. initially Met Norway and the CMEMS Topaz product which for some reason doesn't use the standard variables definitions). My thought for doing this was to use most of the existing cmems reader code but add an inheritance layer to convert from other forms
So it ends up like:
Class forcing_reader()
--- Most of the code currently in CMEMS_reader
Class CMEMS_reader()
-- basically a pass through, but with any minor adjustments needed to make a shared standard
Class Topaz_reader(
-- converts to standard CMEMS conventions setup
Class MetNo_reader(
-- converts to standard CMEMS conventions setup
Alternatively the conversion could probably be summarised in a dictionary and passed as an argument to forcing_reader, or another thought might be to add download support too and do the conversion there...but I think maybe download is better as a utility than directly integrated to the reader pipeline?
I would like to extend the nest forcing interpolation to other products than standard cmems (e.g. initially Met Norway and the CMEMS Topaz product which for some reason doesn't use the standard variables definitions). My thought for doing this was to use most of the existing cmems reader code but add an inheritance layer to convert from other forms
So it ends up like:
Class forcing_reader()
--- Most of the code currently in CMEMS_reader
Class CMEMS_reader()
-- basically a pass through, but with any minor adjustments needed to make a shared standard
Class Topaz_reader(
-- converts to standard CMEMS conventions setup
Class MetNo_reader(
-- converts to standard CMEMS conventions setup
Alternatively the conversion could probably be summarised in a dictionary and passed as an argument to forcing_reader, or another thought might be to add download support too and do the conversion there...but I think maybe download is better as a utility than directly integrated to the reader pipeline?