-
I'm trying to read the GEOS-FP wind data on this website. Here's one example:
I can open the url in browser and download it successfully. I also checked the downloading URL shown in the browser, that's the same url. Any ideas are welcome :) |
Beta Was this translation helpful? Give feedback.
Answered by
jhamman
Oct 19, 2023
Replies: 1 comment 1 reply
-
Try using fsspec along with Xarray: import fsspec
import xarray as xr
url = 'https://portal.nccs.nasa.gov/datashare/gmao/geos-fp/das/Y2023/M10/D01/GEOS.fp.asm.tavg1_2d_slv_Nx.20231001_0030.V01.nc4'
with fsspec.open(url).open() as f:
ds = xr.open_dataset(f)
print(ds)
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
zxdawn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try using fsspec along with Xarray: