Skip to content
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

Zeros on longitude variable #3347

Open
hevgyrt opened this issue Sep 26, 2019 · 4 comments
Open

Zeros on longitude variable #3347

hevgyrt opened this issue Sep 26, 2019 · 4 comments

Comments

@hevgyrt
Copy link

hevgyrt commented Sep 26, 2019

MCVE Code Sample

# Your code here

Expected Output

Problem Description

Output of xr.show_versions()

# Paste the output here xr.show_versions() here
@hevgyrt
Copy link
Author

hevgyrt commented Sep 26, 2019

Hi,

I would like to use xarray for our Copernicus Sentinel-2 data in satellittdata.no which are in NetCDF-4/CF. However, the longitude variable gives a lot of zeros when using xarray, but the correct values using netCDF4 Dataset reader:

ncin_s2 = xa.open_dataset('http://nbstds.met.no/thredds/dodsC/NBS/S2A/2019/08/27/S2A_MSIL1C_20190827T123701_N0208_R095_T39XVL_20190827T143509.nc')

Screenshot from 2019-09-26 21-00-31

Reading using OPeNDAP.

@hevgyrt hevgyrt changed the title Hi, Zeros on longitude variable Sep 26, 2019
@dcherian
Copy link
Contributor

@hevgyrt
Copy link
Author

hevgyrt commented Sep 26, 2019 via email

@stale
Copy link

stale bot commented Aug 28, 2021

In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity

If this issue remains relevant, please comment here or remove the stale label; otherwise it will be marked as closed automatically

@stale stale bot added the stale label Aug 28, 2021
@dcherian dcherian removed the stale label Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants