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

How to get return value? #59

Open
sanitamainali opened this issue Mar 5, 2022 · 0 comments
Open

How to get return value? #59

sanitamainali opened this issue Mar 5, 2022 · 0 comments

Comments

@sanitamainali
Copy link

How do we get a value whenever we click on the node?
In below code:
ImageType=Tree() ImageType.add_node(Node('Landsat',[Node('Collection 1', [Node('Suface Reflectance', [Node('Landsat 8'),Node('Landsat 7')] ), Node('Top Of Atmosphere', [Node('Landsat 8'),Node('Landsat 7')] )]), Node('Collection 2', [Node('Suface Reflectance', [Node('Landsat 8'),Node('Landsat 7')] ), Node('Top Of Atmosphere', [Node('Landsat 8'),Node('Landsat 7')] )])])) ImageType.add_node(Node('Sentinel', [Node('Sentinel-1 SAR'),Node('Sentinel-2 MSI'),Node('Sentinel-3 OLCI EFR')] )) ImageType
How do I get for example a 'LS8SRC!' text or anything as the value if I click Landsat 8 under landsat8 collection1 and surface reflectance?
sorry for messy code & english.

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

No branches or pull requests

1 participant