[Met_help] [rt.rap.ucar.edu #55585] History for netCDF library

John Halley Gotway via RT met_help at ucar.edu
Tue Apr 10 14:06:07 MDT 2012


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

Hello,

we have nco-4.0.8 loaded as one of our netcdf libraries. Any ideas of
whether this will work or whether I have have to put in a request for
having the other version installed...?

At the moment it clearly doesn't work, as the file names are not the
same. If I changed them though, would it work?

Thanks
Marion

-- 
Dr Marion Mittermaier     Manager: Model diagnostics and novel
verification 

Met Office   FitzRoy Road   Exeter   EX1 3PB   United Kingdom
Tel: +44 (0)1392 884830   Fax: +44 (0)1392 885681 
E-mail: marion.mittermaier at metoffice.gov.uk  http://www.metoffice.gov.uk


http://www.metoffice.gov.uk/research/people/marion-mittermaier


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: Re: [rt.rap.ucar.edu #55585] netCDF library
From: John Halley Gotway
Time: Fri Mar 30 10:49:24 2012

Hello Marion,

The NetCDF library and the NCO (NetCDF operators) are two different
packages.  While I've never installed NCO myself, when nco-4.0.8 was
built I'm sure it was linked against a NetCDF library.  So it's
possible that a build of the NetCDF library is hidden away on your
system somewhere.  We also have nco-4.0.8 on our system, so I took a
look, and it will not be sufficient for building MET.

Downloading and compiling a local version of NetCDF is really quite
easy.  But I'm not sure if your security policy would allow for that.
If so, just follow the instructions given in our online
tutorial (look at the "Compiling NetCDF" section):
    http://www.dtcenter.org/met/users/support/online_tutorial/METv3.1/compilation/req_libs.php

Also, we recently posted an updated set of bugfixes for METv3.1.  Just
follow the instructions for how to apply them.  They can be found
here:
    http://www.dtcenter.org/met/users/support/known_issues/METv3.1/index.php

Hope that helps.  If you continue to have problems getting MET
compiled, just let us know.  We're happy to help.

Thanks,
John Halley Gotway
met_help at ucar.edu

On 03/30/2012 09:06 AM, marion.mittermaier at metoffice.gov.uk via RT
wrote:
>
> Fri Mar 30 09:06:50 2012: Request 55585 was acted upon.
> Transaction: Ticket created by marion.mittermaier at metoffice.gov.uk
>         Queue: met_help
>       Subject: netCDF library
>         Owner: Nobody
>    Requestors: marion.mittermaier at metoffice.gov.uk
>        Status: new
>   Ticket<URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=55585>
>
>
> Hello,
>
> we have nco-4.0.8 loaded as one of our netcdf libraries. Any ideas
of
> whether this will work or whether I have have to put in a request
for
> having the other version installed...?
>
> At the moment it clearly doesn't work, as the file names are not the
> same. If I changed them though, would it work?
>
> Thanks
> Marion
>

------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #55585] netCDF library
From: marion.mittermaier at metoffice.gov.uk
Time: Mon Apr 02 06:44:49 2012

Hello,

just to let you know that I have successfully compiled MET.

I did need to modify some of the compile flags, with the help of some
of
our IT guys ... getting rid of -static in the main Makefile and then
adding -lgslcblas to the mode and mode_analysis makefiles.

Hopefully it all works but given that our grib files are incompatible
with MODE I can only hope that the converter Anne Holmes helped to
write
last summer when I was at NCAR will do the trick more universally.

Regards, and thanks
Marion

--
Dr Marion Mittermaier     Manager: Model diagnostics and novel
verification

Met Office   FitzRoy Road   Exeter   EX1 3PB   United Kingdom
Tel: +44 (0)1392 884830   Fax: +44 (0)1392 885681
E-mail: marion.mittermaier at metoffice.gov.uk
http://www.metoffice.gov.uk


http://www.metoffice.gov.uk/research/people/marion-mittermaier

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #55585] netCDF library
From: John Halley Gotway
Time: Mon Apr 02 09:29:17 2012

Marion,

I wasn't aware that MET is not able to read the GRIB files you have.
Do you remember what the specific problem was?  We would, of course,
like MET to be able to read all GRIB files that are correctly
encoded.

Thanks,
John

On 04/02/2012 06:44 AM, marion.mittermaier at metoffice.gov.uk via RT
wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=55585>
>
> Hello,
>
> just to let you know that I have successfully compiled MET.
>
> I did need to modify some of the compile flags, with the help of
some of
> our IT guys ... getting rid of -static in the main Makefile and then
> adding -lgslcblas to the mode and mode_analysis makefiles.
>
> Hopefully it all works but given that our grib files are
incompatible
> with MODE I can only hope that the converter Anne Holmes helped to
write
> last summer when I was at NCAR will do the trick more universally.
>
> Regards, and thanks
> Marion
>

------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #55585] netCDF library
From: marion.mittermaier at metoffice.gov.uk
Time: Mon Apr 02 09:33:30 2012

Hello John,

yes, grib is meant to be universal. I always have a hard time figuring
out whether the problem is that we don't write standard grib files, or
other software (e.g. MODE) doesnt?! But we have problems with all
sorts.
The files I brought with me were not pure model files, but from our
post-processing system. I will try to throw some pure model output at
MODE in the next week and keep you posted! I am finally emerging from
the administrative fog that engulfs me this time of year (reviews, end
of financial year etc) and trying to get back to doing some science!
Hurray.

Marion

--
Dr Marion Mittermaier     Manager: Model diagnostics and novel
verification

Met Office   FitzRoy Road   Exeter   EX1 3PB   United Kingdom
Tel: +44 (0)1392 884830   Fax: +44 (0)1392 885681
E-mail: marion.mittermaier at metoffice.gov.uk
http://www.metoffice.gov.uk


http://www.metoffice.gov.uk/research/people/marion-mittermaier

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #55585] netCDF library
From: John Halley Gotway
Time: Mon Apr 02 09:38:41 2012

Marion,

OK, sounds good.  Please keep me posted.  If you'd like to send me one
of your files on which MET is choking, you could post it on our
anonymous ftp site following the instructions listed here:
    http://www.dtcenter.org/met/users/support/met_help.php#ftp

I could take a look and probably diagnose where the problem is.
Sometimes that reveals shortcoming in MET, and sometimes the GRIB file
encoding is incorrect.

Anne, do you recall the source of the problem with Marion's data?

Thanks,
John

On 04/02/2012 09:33 AM, marion.mittermaier at metoffice.gov.uk via RT
wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=55585>
>
> Hello John,
>
> yes, grib is meant to be universal. I always have a hard time
figuring
> out whether the problem is that we don't write standard grib files,
or
> other software (e.g. MODE) doesnt?! But we have problems with all
sorts.
> The files I brought with me were not pure model files, but from our
> post-processing system. I will try to throw some pure model output
at
> MODE in the next week and keep you posted! I am finally emerging
from
> the administrative fog that engulfs me this time of year (reviews,
end
> of financial year etc) and trying to get back to doing some science!
> Hurray.
>
> Marion
>

------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #55585] netCDF library
From: marion.mittermaier at metoffice.gov.uk
Time: Mon Apr 02 09:45:27 2012

Both,

I still have the code that Anne wrote and if the first attempt without
conversion fails, I will try this next!

Marion

--
Dr Marion Mittermaier     Manager: Model diagnostics and novel
verification

Met Office   FitzRoy Road   Exeter   EX1 3PB   United Kingdom
Tel: +44 (0)1392 884830   Fax: +44 (0)1392 885681
E-mail: marion.mittermaier at metoffice.gov.uk
http://www.metoffice.gov.uk


http://www.metoffice.gov.uk/research/people/marion-mittermaier

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #55585] netCDF library
From: John Halley Gotway
Time: Tue Apr 10 14:05:46 2012

Hello Marion,

I'll resolve these MET-Help tickets for now.  But if more questions
come up in your use of MET, please feel free to write to
met_help at ucar.edu again.

Thanks,
John

On 04/02/2012 09:45 AM, marion.mittermaier at metoffice.gov.uk via RT
wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=55585>
>
> Both,
>
> I still have the code that Anne wrote and if the first attempt
without
> conversion fails, I will try this next!
>
> Marion
>

------------------------------------------------


More information about the Met_help mailing list