#
# This file is part of Python Client Library for the LCCS-WS.
# Copyright (C) 2020 INPE.
#
# Python Client Library for the LCCS-WS is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
#
"""LCCS Python Client examples."""

from lccs import LCCS

# Change to the LCCS-WS URL you want to use.
service = LCCS("https://brazildatacube.dpi.inpe.br/lccs/")

# Get a specific classification system
# Make sure the classification system is available in service
classification_system = service.classification_system('PRODES-1.0')

# Returns all classes belonging to a specific classification system.
classes = classification_system.classes()
print(classes)


#
# This file is part of Python Client Library for the LCCS-WS.
# Copyright (C) 2020 INPE.
#
# Python Client Library for the LCCS-WS is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
#
"""LCCS Python Client examples."""

from lccs import LCCS

# Change to the LCCS-WS URL you want to use.
service = LCCS("https://brazildatacube.dpi.inpe.br/lccs/")

# Get a specific classification system
# Make sure the classification system is available in service
classification_system = service.classification_system('PRODES-1.0')

# Returns all classes belonging to a specific classification system.
classes = classification_system.classes()
print(classes)


# # This file is part of Python Client Library for the LCCS-WS. # Copyright (C) 2020 INPE. # # Python Client Library for the LCCS-WS is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. # LCCS Python Client examples. # Change to the LCCS-WS URL you want to use. # Get a specific classification system # Make sure the classification system is available in service # Returns all classes belonging to a specific classification system.