Giter VIP home page Giter VIP logo

cesm-atm-025deg-feedstock's Introduction

cesm-atm-025deg-feedstock

Please refer to https://pangeo-forge.org/dashboard/feedstock/41 to follow this feedstock's journey within Pangeo Forge Cloud.

Pangeo Forge Feedstocks are collaborative.

If you see a way that the recipes within this feedstock can be improved, please open an Issue or Pull Request on this repo.

cesm-atm-025deg-feedstock's People

Contributors

cisaacstern avatar pangeo-forge-bot avatar paigem avatar

Watchers

Ryan Abernathey avatar  avatar

Forkers

paigem

cesm-atm-025deg-feedstock's Issues

Authentication requirement

Following on @andersy005's discovery in #8 (comment), I just checked to see if the urls specified by this recipe are publicly available, and found that they are not.

In [1]: # copy and paste the `recipe.py` code in this repo here
In [2]: urls = [url for _, url in pattern.items()]
In [3]: urls[0]
Out[3]: 'https://tds.ucar.edu/thredds/fileServer/datazone/campaign/cesm/collections/ASD/hybrid_v5_rel04_BC5_ne120_t12_pop62/atm-regrid/proc/tseries/daily/FV_768x1152.bilinear.hybrid_v5_rel04_BC5_ne120_t12_pop62.cam.h1.LHFLX.00780101-00781231.nc'
In [4]: !wget 'https://tds.ucar.edu/thredds/fileServer/datazone/campaign/cesm/collections/ASD/hybrid_v5_rel04_BC5_ne120_t12_pop62/a
   ...: tm-regrid/proc/tseries/daily/FV_768x1152.bilinear.hybrid_v5_rel04_BC5_ne120_t12_pop62.cam.h1.LHFLX.00780101-00781231.nc'
   ...: 
--2022-12-22 09:43:24--  https://tds.ucar.edu/thredds/fileServer/datazone/campaign/cesm/collections/ASD/hybrid_v5_rel04_BC5_ne120_t12_pop62/atm-regrid/proc/tseries/daily/FV_768x1152.bilinear.hybrid_v5_rel04_BC5_ne120_t12_pop62.cam.h1.LHFLX.00780101-00781231.nc
Resolving tds.ucar.edu (tds.ucar.edu)... 128.117.181.7
Connecting to tds.ucar.edu (tds.ucar.edu)|128.117.181.7|:443... connected.
HTTP request sent, awaiting response... 401 

Username/Password Authentication Failed.

@paigem, as we discussed offline, I do recall that we wrestled with this issue initially. What I don't recall is if we solved it by finding an unauthenticaed endpoint for this data, or if the solution was that I just manually ran this recipe in a notebook the first time around (using your credentials).

Our discussion in #5 suggests to me that we did actually run this on Pangeo Forge Cloud (not in a notebook), because there would never have been a KilledWorker in a notebook setting (at least as I would have done it). OTOH, I remember there was a long saga around getting pangeo-forge-recipes to support passing credentials as query string parameters, which was motivated by this recipe. Which, on the contrary, makes me think there was never an unauthenticated pathway to this data. ๐Ÿคท

@paigem, bringing it back to what we can do now, are there currently any alternate endpoints for this data that do not require authentication? If the only option is to get this data via an authenticated endpoint, then we may be temporarily blocked here. Pangeo Forge Cloud does not currently have a mechanism for injecting data provider creds at runtime (other recipes blocked by this).

The tutorial notebooks provided in the docs demonstrate how to run pangeo-forge-recipes yourself in a Jupyter notebook (as opposed to here, on Pangeo Forge Cloud):

https://pangeo-forge.readthedocs.io/en/latest/pangeo_forge_recipes/tutorials/index.html

this could be a possible alternative on the short term, given that you could provide your own credentials in that context.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.