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

Feature/quicklook portal #2

Open
wants to merge 32 commits into
base: master
Choose a base branch
from

Conversation

thomasstorm
Copy link
Collaborator

No description provided.

Fixes for:
* test results, including results when run in GMT timezone
* a dependency version in maven pom
This initial test version is for Multi-band (RGB).
The quicklook parameters are hard-coded.
* Add all quicklook parameters to the GUI for user configuration
* Supports single-band colour table and multi-band RGBA
* Moved calvalus.ql.parameters XML configuration to the client-side
Change handlers for the quicklook radio buttons manages the form state
User can select band name from the list, or enter a custom band name
The list is populated from the backend through a configuration file.
The default configuration file on the Calvalus filesytem is:
/calvalus/auxiliary/color-palette-sets.csv

An example entry in color-palette-sets.csv is:
#name, path
wew_water_chl;hdfs://myserver:9000/calvalus/auxiliary/wew_water_chl.cpd
Fixes for:
* revert test results, which include an expected time, back to Central
Europe timezone as now developing on a server in that timezone.
* Update dependency versions in maven pom to fix build errors.
New design is based on the backend code for managing spatial regions.
The previous code design for color palettes based on product-sets code
is removed.

The default configuration file in the deployed Calvalus portal web
application is:
calvalus-portal/WEB-INF/classes/com/bc/calvalus/portal/server/color-palettes.properties

User configuration files are also supported on the server where the
Calvalus portal is deployed:
[USER]/.calvalus/[USER]-color-palettes.properties

Example entries in color-palettes.properties:
#name = path
wew_water_chl1 = hdfs://my_server:9000/calvalus/auxiliary/wew_water_chl.cpd
wew_water_chl2 = http://my_server:8080/calvalus-portal/auxiliary/wew_water_chl.cpd
instead of displaying full URLs
to keep it consistent in the user interface
For portal access control and visual configuration, please set:
  calvalus.portal.qlView
in webapps/calvalus-portal/config/calvalus.properties
These color palettes are SNAP standard cpd files, which are assumed
available on Calvalus HDFS (folder /calvalus/auxiliary/cpd)
Image was not generated unless scene height was the same as scene width
@declandunne
Copy link

I recommend to close this pull request. A new pull request #30 has been created for this same feature with clean updated code and repository.

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

Successfully merging this pull request may close these issues.

2 participants