-
Notifications
You must be signed in to change notification settings - Fork 0
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
Testing pyrs in the data viewer #5
base: main
Are you sure you want to change the base?
Conversation
@norlandrhagen, do you have admin priviledges in the leap-stc organization? if so, you will need to install the leap-catalog app in this repo: https://github.com/apps/leap-stc-catalog/installations/56826523 otherwise, we will need @jbusecke's help |
@andersy005 I just added this repo to the list. |
everything seems to be working fine except the data viewer :(. @katamartin, do you happen to have some ideas on how to circumvent CORS issue (in data-viewer) when trying to visualize pyramids hosted on a server we don't control? for e.g. https://ncview-js.staging.carbonplan.org/?dataset=https://nyu1.osn.mghpcc.org/leap-pangeo-pipeline/CHIRPS/CHIRPS_pyramid_5_lvls.zarr doesn;t work because of CORS issues. P.S. the raw dataset works because we are proxying everything through the zarr-proxy: https://ncview-js.staging.carbonplan.org/?dataset=https://nyu1.osn.mghpcc.org/leap-pangeo-pipeline/chirps_feedstock/chirps-global-daily.zarr |
Hmmm good question! We have already set up a serverless function to handle CORS issues for the initial I think we should be able to extend that pattern and pass a proxied URL Taking a step back, it would be ideal to give guidance that CORS be enabled for visualization-ready pyramids. Since the pyramid optimization is especially helpful to browser environments. |
To add a bit, I am storing the pyramid on LEAP's OSN bucket, which I have no idea how CORS would works for that. |
➕ .... @jbusecke, does OSN expose a web console to the admins? If so, it is worth investigating to see if we can enable CORS similar to how AWS exposes this feature: https://docs.aws.amazon.com/AmazonS3/latest/userguide/enabling-cors-examples.html |
No description provided.