Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ir product #1355

Closed
Tsironisa opened this issue Sep 9, 2020 · 5 comments
Closed

ir product #1355

Tsironisa opened this issue Sep 9, 2020 · 5 comments
Labels

Comments

@Tsironisa
Copy link

Hi,i use seviri files to build composites.is there anyway to get a memo on load() about temperature in ir ,or other composites using ir e.g colorized_ir_clouds
if not, where can i get the color table for colorized_ir_clouds combpsite

@mraspaud
Copy link
Member

mraspaud commented Sep 9, 2020

Hi, what do you call a memo?

@Tsironisa
Copy link
Author

i mean a table relating temperature to image colors like this
Fig3 3 (1)

@mraspaud
Copy link
Member

@zxdawn maybe can help?

@zxdawn
Copy link
Member

zxdawn commented Sep 10, 2020

You can use decorate when saving your figure.

scn.save_datasets(base_dir='./figures/',
                           filename='enhancement.jpg',
                           compute=True,
                           fill_value=0,
                           datasets=[channel],
                           writer='simple_image',
                           decorate={'decorate': [{'scale': {'colormap': spectral, 'extend': False,
                                                             'cursor': [0, 0], 'bg':'white',
                                                             'title':'Brightness Temperature'}}]
                                    })

Note, you need to pass the colormap manually. For more parameters of decorate, you can check the pydecorate website.

If you're interested in other methods of plotting colormap, you can check this notebook.

@Tsironisa
Copy link
Author

Thank you very match!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants