netcdf runtime error with ncmerge

24 views
Skip to first unread message

Knut

unread,
Dec 13, 2011, 11:03:08 AM12/13/11
to getm-...@googlegroups.com
Dear Bjarne,

the nc_create command in ncutils.c is called with the NC_WRITE macro.
This however is officially not supported (anymore?). (For my old system
with 32bit and netcdf3 it still works.) But for a fresh netcdf4 install,
it was necessary to change to e.g. NC_NOCLOBBER or NC_CLOBBER.

Best regards,
Knut

Mahdi Mohammadi

unread,
Jan 17, 2012, 9:43:53 AM1/17/12
to getm-...@googlegroups.com


Thanks knut for this email, I had the similar problem. I edited the code and it is working properly now. I have installed a 64bit Ubuntu OS and have compiled netCDF4 with and without hdf5.
Regards,
Mahdi

saeed moghimi

unread,
Jan 17, 2012, 11:44:29 AM1/17/12
to getm-...@googlegroups.com
Dear Knut,
Thanks for your efforts. As far as I remember, I have found the same in transect routine later.
Regards,
Saeed Moghimi.
--
*********************************************
Saeed Moghimi,
Physical Oceanography and Instrumentation Section,
Leibniz Institute for Baltic Sea Research,
Seestraße 15,
D-18119 Warnemünde,
Germany.
Home page: http://www.io-warnemuende.de/saeed-moghimi.html
*********************************************

Bjarne Büchmann

unread,
Jan 23, 2012, 7:11:19 AM1/23/12
to getm-...@googlegroups.com

Dear Knut and Saeed,

 

I am recovering from a concussion (happened early December), and I will not be able to deal with this issue in short time.

I will try to fix it once I am back in action (will likely take several weeks).

 

Feel free to remind me.

 

Thanks,

 

Bjarne

Knut

unread,
Jan 24, 2012, 9:45:01 AM1/24/12
to getm-...@googlegroups.com
Dear Bjarne,

IOW sends you all the best wishes for your recovery!

Knut


>
> Dear Knut and Saeed,
>
>
>
> I am recovering from a concussion (happened early December), and I
> will not be able to deal with this issue in short time.
>
> I will try to fix it once I am back in action (will likely take
> several weeks).
>
>
>
> Feel free to remind me.
>
>
>
> Thanks,
>
>
>
> Bjarne
>
>
>

> *Fra:* getm-...@googlegroups.com
> [mailto:getm-...@googlegroups.com] *P� vegne af *saeed moghimi
> *Sendt:* 17. januar 2012 5:44
> *Til:* getm-...@googlegroups.com
> *Emne:* Re: [getm-users: 1582] netcdf runtime error with ncmerge


>
>
>
> Dear Knut,
> Thanks for your efforts. As far as I remember, I have found the same
> in transect routine later.
> Regards,
> Saeed Moghimi.
>
>
>
> On Tue, Jan 17, 2012 at 8:43 AM, Mahdi Mohammadi <mahdi...@yahoo.com
> <mailto:mahdi...@yahoo.com>> wrote:
>
>
>
>
>
> Thanks knut for this email, I had the similar problem. I edited the
> code and it is working properly now. I have installed a 64bit Ubuntu
> OS and have compiled netCDF4 with and without hdf5.
> Regards,
> Mahdi
>
>
>
> Dear Bjarne,
>
> the nc_create command in ncutils.c is called with the NC_WRITE macro.
> This however is officially not supported (anymore?). (For my old
> system with 32bit and netcdf3 it still works.) But for a fresh netcdf4
> install, it was necessary to change to e.g. NC_NOCLOBBER or NC_CLOBBER.
>
> Best regards,
> Knut
>
>
>
>
> --
>
> *********************************************
> Saeed Moghimi,
> Physical Oceanography and Instrumentation Section,
> Leibniz Institute for Baltic Sea Research,

> Seestra�e 15,
> D-18119 Warnem�nde,

Knut

unread,
Mar 26, 2014, 2:29:04 PM3/26/14
to getm-...@googlegroups.com
Dear Bjarne,

last summer you changed the NC_WRITE to NC_CLOBBER in nctransect/src/ncdfio.c.
Thanks for this. Could you please also change here:

kklingbe@phy-203:~/work/tools/getm/getm-utils-git$ grep -rn NC_WRITE *
src/ncmerge/src/ncutils.c:674:      status = nc_create(fileName,NC_WRITE,&nc_id);  /* create for writing */
src/gvc2zax/src/gvc2zax.c:418:      status = nc_create (outfile, NC_WRITE, &ncid);

?

Regards,
Knut

Bjarne Büchmann

unread,
Mar 27, 2014, 2:23:10 AM3/27/14
to getm-...@googlegroups.com

Hi Knut,

 

Thank you for reporting it and providing a solution. I will see to the update.

 

/Bjarne

--

---
You received this message because you are subscribed to the Google Groups "GETM-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to getm-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages