# How to begin for the new user?

**URL:** <https://discourse.pangeo.io/t/how-to-begin-for-the-new-user/2098>\
**Category:** Cloud\
**Created:** [January 27, 2022, 1:24am UTC](https://discourse.pangeo.io/t/how-to-begin-for-the-new-user/2098 "2022-01-27T01:24:31Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![lei](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/lei/32/1390_2.png) [@lei](https://discourse.pangeo.io/u/lei)\
**Post date:** [January 27, 2022, 1:24am UTC](https://discourse.pangeo.io/t/how-to-begin-for-the-new-user/2098/1 "2022-01-27T01:24:31Z")

</div>

Hi,  
I am really new to the Pangeo community. So my question may be silly.  
When I run the example code no matter which one, I got similar error:

```auto
ValueError: Bad Request: https://storage.googleapis.com/download/storage/v1/b/pangeo-cnes/o/alti%2Fj3%2F.zmetadata?alt=media
User project specified in the request is invalid.

```

I guess I lost something (settings for google cloud?) before run the code. But do not know where to find the solutions?

Can someone give me instructions?

Thanks  
Lei

---

<div class="post-metadata">

**Author:** ![jdldeauna](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/jdldeauna/32/1155_2.png) [@jdldeauna](https://discourse.pangeo.io/u/jdldeauna)\
**Post date:** [January 28, 2022, 2:34am UTC](https://discourse.pangeo.io/t/how-to-begin-for-the-new-user/2098/2 "2022-01-28T02:34:55Z")

</div>

Hi Lei,

I think I got this error before when I was trying to run example code without first signing up for a (free!) Pangeo Cloud account: [Pangeo Cloud — Pangeo documentation](https://pangeo.io/cloud.html) (go to “SIGN UP” section). Once you get an account, you can more easily run the examples as Jupyter notebooks. Hope this helps 🙂

Dianne

---

<div class="post-metadata">

**Author:** ![lei](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/lei/32/1390_2.png) [@lei](https://discourse.pangeo.io/u/lei)\
**Post date:** [January 28, 2022, 11:22am UTC](https://discourse.pangeo.io/t/how-to-begin-for-the-new-user/2098/3 "2022-01-28T11:22:43Z")

</div>

Hi, Dianne

Thanks for your reply. The Pangeo Cloud account must be the requirement before using it.  
I have send an application to the Pangeo Cloud. And I am waiting the response from the Pangeo staff.

Lei

---

<div class="post-metadata">

**Author:** ![scottyhq](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/scottyhq/32/162_2.png) [@scottyhq](https://discourse.pangeo.io/u/scottyhq)\
**Post date:** [January 31, 2022, 9:21pm UTC](https://discourse.pangeo.io/t/how-to-begin-for-the-new-user/2098/4 "2022-01-31T21:21:39Z")

</div>

Hi @lei , welcome to the forum, and thanks for filling out the application!

I don’t believe any confirmation of account is sent automatically, but once you fill out the google form you should be able to log in after 24 hours to whichever cluster you requested access to.

If you’re running from one of the hosted JupyterHubs you should have access to pangeo-operated storage buckets. Can you point to the specific example you’re trying to run with a link to the repository or documenation?

---

<div class="post-metadata">

**Author:** ![lei](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/lei/32/1390_2.png) [@lei](https://discourse.pangeo.io/u/lei)\
**Post date:** [February 1, 2022, 4:11am UTC](https://discourse.pangeo.io/t/how-to-begin-for-the-new-user/2098/5 "2022-02-01T04:11:47Z")

</div>

Hi, @scottyhq

Thanks very much for your suggestion.

The example I tried is the satellite altimeter along track data: [Along Track Altimetry Analysis — Pangeo Gallery documentation](http://gallery.pangeo.io/repos/pangeo-gallery/physical-oceanography/02_along_track.html)

However, I simply use the JupyterLab to run the example (should I use the jupyterHub instead?). And I still got the same error message as my first post.

As you said, I have not received the confirmation after filling out the application of Pangeo Cloud.

I also got some message following [Google cloud deployment](https://pangeo.io/cloud.html) and then [log to continue](https://us-central1-b.gcp.pangeo.io/hub/login?next=%2Fhub%2F):

```auto
403 : Forbidden
Looks like you have NOT been added to the list of allowed users for this hub. Please contact the hub administrators.

```

Lei

---

<div class="post-metadata">

**Author:** ![rabernat](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/rabernat/32/22_2.png) [@rabernat](https://discourse.pangeo.io/u/rabernat)\
**Post date:** [February 1, 2022, 4:02pm UTC](https://discourse.pangeo.io/t/how-to-begin-for-the-new-user/2098/6 "2022-02-01T16:02:12Z")

</div>

Scott, it looks like the script that has been updating the cluster permissions has broken! [Merge pull request #978 from Jon-Jos/patch-1 · pangeo-data/pangeo-cloud-federation@9832e62 · GitHub](https://github.com/pangeo-data/pangeo-cloud-federation/runs/4835274849?check_suite_focus=true)

This would explain why users who sign up are not being added. 🤦‍♂️

---

<div class="post-metadata">

**Author:** ![scottyhq](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/scottyhq/32/162_2.png) [@scottyhq](https://discourse.pangeo.io/u/scottyhq)\
**Post date:** [February 1, 2022, 6:57pm UTC](https://discourse.pangeo.io/t/how-to-begin-for-the-new-user/2098/7 "2022-02-01T18:57:33Z")

</div>

OK, we’ve fixed a problem with updating members @lei , once you confirm your membership here [People · Pangeo · GitHub](https://github.com/orgs/pangeo-data/people) (you should have a ‘pending invitation’ within 24 hours of filling out the google form) you can log into [https://us-central1-b.gcp.pangeo.io](https://us-central1-b.gcp.pangeo.io).

For that particular example notebook, if you look into the [catalog file](https://raw.githubusercontent.com/pangeo-data/pangeo-datastore/master/intake-catalogs/ocean/altimetry.yaml), you’ll see `urlpaths` pointing to a Google Cloud storage bucket `gs://pangeo-cnes` which is only accessible from the Pangeo Google JupyterHub. Note that you’ll have much better performance analyzing data in google cloud storage on the Hub so that you don’t have to transfer large amounts of data over internet to your own machine.

---

<div class="post-metadata">

**Author:** ![lei](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/lei/32/1390_2.png) [@lei](https://discourse.pangeo.io/u/lei)\
**Post date:** [February 2, 2022, 2:55pm UTC](https://discourse.pangeo.io/t/how-to-begin-for-the-new-user/2098/8 "2022-02-02T14:55:33Z")

</div>

@scottyhq and @rabernat , the altimetry example worked now. Thanks very much. The Pangeo is really fantastic and useful.

Now, I try to run the example [LLC4320](https://github.com/pangeo-data/pangeo-ocean-examples/blob/master/llc4320.ipynb) in Pangeo which is a much larger data-set. Thus, the dask is needed.

The codes before the `Launch Dask Cluster` section run good without error. However, when I run:

```auto
from dask_kubernetes import KubeCluster
from dask.distributed import Client
cluster = KubeCluster()
cluster.adapt(minimum=1, maximum=20)
client = Client(cluster)
cluster

```

I see these wrong messages:

```auto
---------------------------------------------------------------------------
ValueError: Worker pod specification not provided. See KubeCluster docstring for ways to specify workers

```

After googling these messages, I run:

```auto
from dask_kubernetes import KubeCluster, make_pod_spec

pod_spec = make_pod_spec(image='daskdev/dask:latest',
                         memory_limit='4G', memory_request='4G',
                         cpu_limit=1, cpu_request=1)

cluster = KubeCluster(pod_spec)

cluster.scale(10) # specify number of workers explicitly
cluster.adapt(minimum=1, maximum=100) # or dynamically scale based on current workload

```

But seems this is not the solution, and error message raised:

```auto
---
ClientConnectorError: Cannot connect to host 10.12.0.1:443 ssl:default [Connect call failed ('10.12.0.1', 443)]

```

I know this problem is not related the Pangeo side but the dask side. Forgive me also a beginner of Dask and Kubercluster. Perhaps veterans here know how to fix this quickly.

---

<div class="post-metadata">

**Author:** ![rabernat](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/rabernat/32/22_2.png) [@rabernat](https://discourse.pangeo.io/u/rabernat)\
**Post date:** [February 2, 2022, 3:11pm UTC](https://discourse.pangeo.io/t/how-to-begin-for-the-new-user/2098/9 "2022-02-02T15:11:45Z")

</div>

Those examples are extremely old and unmaintained. We should probably take them down.

Much newer examples are here - [Physical Oceanography — Pangeo Gallery documentation](http://gallery.pangeo.io/repos/pangeo-gallery/physical-oceanography/)

These new examples show that you should use Dask Gateway instead of Dask Kubernetes.

---

<div class="post-metadata">

**Author:** ![lei](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/lei/32/1390_2.png) [@lei](https://discourse.pangeo.io/u/lei)\
**Post date:** [February 2, 2022, 4:44pm UTC](https://discourse.pangeo.io/t/how-to-begin-for-the-new-user/2098/10 "2022-02-02T16:44:53Z")

</div>

Perfect! I can load the LLC4320 now. A lot of thanks to Pangeo and the people build it.  
Thanks @rabernat

---

<div class="post-metadata">

**Author:** ![crazyearth](https://avatars.discourse-cdn.com/v4/letter/c/ecd19e/32.png) [@crazyearth](https://discourse.pangeo.io/u/crazyearth)\
**Post date:** [March 8, 2022, 9:27pm UTC](https://discourse.pangeo.io/t/how-to-begin-for-the-new-user/2098/11 "2022-03-08T21:27:12Z")

</div>

Hello everybody,  
i’m also new to the pangeo community and i am confronted with the same problem as lei in the first case.  
I’m already signed up at [Pangeo Cloud - Pangeo documentation](https://pangeo.io/cloud.html).  
and confirmed my membership as well.  
i logged into [https://us-central1-b.gcp.pangeo.io](https://us-central1-b.gcp.pangeo.io/) and tried my notebook, but i got the same error…

i hope somebody can help me.

Mario

---

<div class="post-metadata">

**Author:** ![crazyearth](https://avatars.discourse-cdn.com/v4/letter/c/ecd19e/32.png) [@crazyearth](https://discourse.pangeo.io/u/crazyearth)\
**Post date:** [March 8, 2022, 9:27pm UTC](https://discourse.pangeo.io/t/how-to-begin-for-the-new-user/2098/12 "2022-03-08T21:27:55Z")

</div>

My notebook is the [swot simulator](https://github.com/CNES/swot_simulator)

---

<div class="post-metadata">

**Author:** ![rabernat](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/rabernat/32/22_2.png) [@rabernat](https://discourse.pangeo.io/u/rabernat)\
**Post date:** [March 9, 2022, 4:28pm UTC](https://discourse.pangeo.io/t/how-to-begin-for-the-new-user/2098/13 "2022-03-09T16:28:49Z")

</div>

@crazyearth - you should use Dask Gateway, not Dask Kubernetes. See the documentation at [https://pangeo.io/cloud.html](https://pangeo.io/cloud.html).
