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

add custom scripts for arps sandbox data #307

Merged
merged 17 commits into from
May 22, 2024

Conversation

prashansa
Copy link
Contributor

This pull request adds custom evalscripts for analysis ready planetscope's new sandbox dataset.

@chorng chorng self-requested a review April 8, 2024 10:08
Copy link
Contributor

@chorng chorng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please have a look at the /contribute dir and follow the instruction there.

It is highly recommended to prepare visuaisation (script.js), raw (raw.js), and statistical feature enabled (eob.js) scripts to make it eaiser to be adopted by users. Please also make sure the formatting is consistent, e.g., the spaces and the indents.

You could also try to local build your changes following the instruction here. By doing this you can test if your changes work as your expectation.

analysis_ready_planetscope/analysis_ready_planetscope.md Outdated Show resolved Hide resolved
analysis_ready_planetscope/analysis_ready_planetscope.md Outdated Show resolved Hide resolved
analysis_ready_planetscope/analysis_ready_planetscope.md Outdated Show resolved Hide resolved
analysis_ready_planetscope/analysis_ready_planetscope.md Outdated Show resolved Hide resolved
analysis_ready_planetscope/mask_classification.js Outdated Show resolved Hide resolved
analysis_ready_planetscope/mask_classification.js Outdated Show resolved Hide resolved
analysis_ready_planetscope/ndvi.js Outdated Show resolved Hide resolved
analysis_ready_planetscope/truecolor.js Outdated Show resolved Hide resolved
analysis_ready_planetscope/truecolor_cloudMasked.js Outdated Show resolved Hide resolved
@prashansa prashansa requested a review from chorng May 21, 2024 07:35
Copy link
Contributor

@chorng chorng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added some comments. I think we're almost there.

.DS_Store Outdated Show resolved Hide resolved
analysis_ready_planetscope/.gitignore Outdated Show resolved Hide resolved
analysis_ready_planetscope/true_color_cloud_masked/raw.js Outdated Show resolved Hide resolved
analysis_ready_planetscope/true_color_cloud_masked/raw.js Outdated Show resolved Hide resolved
@prashansa prashansa requested a review from chorng May 21, 2024 19:49
* remove redundant curly brackets in setup function

* format color ramp of ndvi script

* remove redundant if condition of true color cloud masked script
Copy link
Contributor

@chorng chorng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I modified the return statement of true_color_cloud_masked/scripts.js. Could you please give it a try and see if the modified script produces your expected result? If yes, we can merge the PR.

@prashansa
Copy link
Contributor Author

Thank you @chorng for the detailed review! I did not pay heed to the importance of formatting, so thank you for pointing multiple changes there.
The return statement change makes sense too, please go ahead and merge.

@chorng chorng merged commit 5cd8a09 into sentinel-hub:main May 22, 2024
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.

None yet

2 participants