Open dopplershift opened 6 years ago
@dopplershift What is the purpose of the registry you have mentionned in the details?
Should the directory be passed on to the AWIPS converter or be extracted from the colormaps in the Unidata directories? Maybe it doesn't matter that much but how is the directory name defined in the script based on the colormaps directories?
Do you have a specific order for the red, green and blue colors and what happens to the alpha number?
I know this is a lot of questions but it can created in different ways. I would like to be steered in the right direction based on the directory structure. Open to comments/suggestions.
Hi @eliteuser26 - We're currently talking about how to handle the color tables and thinking we might be changing how things are done a bit. That being said, this might be a good one to hold off on a for a bit.
In the current incarnation all of those tables would live in MetPy with a converter to load them into simple RGB maps. We're thinking of a more clever way to also encode the common bounds, uses, etc.
Sounds good to me. I will wait on this issue so you can figure that one out.
Claude Dicaire.
On Feb 15, 2018 16:47, "John Leeman" notifications@github.com wrote:
Hi @eliteuser26 https://github.com/eliteuser26 - We're currently talking about how to handle the color tables and thinking we might be changing how things are done a bit. That being said, this might be a good one to hold off on a for a bit.
In the current incarnation all of those tables would live in MetPy with a converter to load them into simple RGB maps. We're thinking of a more clever way to also encode the common bounds, uses, etc.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Unidata/MetPy/issues/721#issuecomment-366072405, or mute the thread https://github.com/notifications/unsubscribe-auth/Aeg_MfcZClD3YFS2917pPxKBAz72GjTuks5tVKX0gaJpZM4Ru2eD .
I made this based on a PowerPoint by Joseph Moore about NWS standard color curves... https://github.com/blaylockbk/pyBKB_v2/blob/master/demos/National_Weather_Service_Standard_Color_Curves.ipynb (I put this link in another issue, but it looks like this one has more discussion)
AWIPS has a ton of color tables that would probably be nice to have. What we need is:
convert_gempak_table
)We may need to implement support in the registry to scan recursively for tables, adding the subdirectories as namespaces (?) to avoid having 1000's of color tables in one flat directory. So for instance,
awips/sat/WV/Dry_Yellow.tbl
is available from the registry as `registry.get_colortable('awips.sat.WV.Dry_Yellow').