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

Unable to load Ensembles dimension from Grads Ctl file #1823

Open
arulalant opened this Issue Feb 11, 2016 · 4 comments

Comments

Projects
None yet
3 participants
@arulalant
Contributor

arulalant commented Feb 11, 2016

Dear UV-CDAT Developers,

Greetings!

When I am trying to access ensemble dimension (which has embedded within variable as another dimension / axis / coordinates) from grib2 file, cdms2 just suppressed to single ensemble dimension (i.e. no ensemble dimension at all) .

But when I am accessing the same ctl file in grads, I am able to set / select which ensemble need to be plotted. In grads, we can do "set E 5" to select 5th ensemble.

Attached zip file which contains sample grib2, ctl, idx files ensemble-example-grib2.zip

$ wgrib2 -v example.grib2 shows the ensembles.

If you point out me, which module do I need to look out, then I may give a try to fix it.

Thanks.

@arulalant

This comment has been minimized.

Contributor

arulalant commented Feb 15, 2016

@doutriaux1 @aashish24 any comments or suggestions on this !?

@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented Feb 16, 2016

@dnadeau4 this one falls in your camp. Thanks!

@dnadeau4

This comment has been minimized.

Contributor

dnadeau4 commented Feb 16, 2016

It seems that CDMS is hard coded to 4 dimensions maximum for grads.

  file->ndims =  4 ;
  file->ngatts =  1 ;
  ngdims =  4 ;

I'll see if I can fix this easily.

Denis

@doutriaux1 doutriaux1 modified the milestones: 3.0, 2.6 May 25, 2016

@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented May 25, 2016

@dnadeau4 just pinging, no rush

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment