All Questions
5
questions
1
vote
0
answers
26
views
Buffer Error when using xarray
When I tried to using python package "xarray" to read grib files, I got an error. It's quite weird, because I had did it successfully yesterday.
This is my code:
import xarray as xr
import ...
4
votes
0
answers
79
views
Looking up whole time-series for specific point from 45 GB file
I want to look-up 8760 times for a single lat/lon combo in less than a second from 43.82 GB file of wind data containing:
8760 times (every hour in a year)
721 latitudes (every 0.25° from -90.0° to ...
0
votes
1
answer
1k
views
Why do rioxarray reprojection and pyproj transform give different values when selecting a pixel by point coordinates?
I'm opening this grib file using rioxarray and reprojecting to WGS84 in the following manner with the goal of grabbing pixel values by coordinates.
import rioxarray
url = 'https://noaa-hrrr-bdp-pds....
0
votes
0
answers
1k
views
Reading grib file without extension using Xarray
Is it possible to read a file without an extension from Xarray and let Xarray infer the correct datatype?
Context: I downloaded files with .Z compression from https://data.eol.ucar.edu/. An example ...
2
votes
1
answer
3k
views
Unable to read GRIB datas with XArray
I used this code to read grib data
import os
import numpy as np
import pandas as pd
import xarray as xr
path = "gfsanl_4_2019101000.g2"
os.chdir(path)
ds = xr.open_dataset('...