Re: Issue with writing large data out to netCDF

From: Kyle Griffin <ksgriffin2_at_nyahnyahspammersnyahnyah>
Date: Fri Feb 14 2014 - 14:32:19 MST

Hi all,

Neither of Wei's suggestions worked.

I'm trying a run with the setfileoption calls (both calls, per Wei's
suggestions) before the addfile command, as that's what my interpretation
of the documentation would suggest as the next logical step with the "nc"
option everyone has mentioned. Any other suggestions here are certainly
welcome, as well.

Kyle

----------------------------------------
Kyle S. Griffin
Department of Atmospheric and Oceanic Sciences
University of Wisconsin - Madison
Room 1421
1225 W Dayton St, Madison, WI 53706
Email: ksgriffin2@wisc.edu

On Fri, Feb 14, 2014 at 10:44 AM, Keith Lindsay <klindsay@ucar.edu> wrote:

> Kyle,
>
> Further down in the docs, in the "NetCDF file format options" section is a
> block that indicates the you need to you "nc" instead of a file argument
> when setfileoption is setting "Format":
>
> Format
> Default value: "Classic"
>
> You may set this option only prior to opening a new NetCDF file in
> "create" mode. The first argument must be a string specifying the NetCDF
> format, such as "nc". This string-valued option currently has four valid
> values, two of which are synonyms.
>
> Keith
>
>
> On 2/14/14, 9:37 AM, Kyle Griffin wrote:
>
> I'll give Wei's suggestions a try - I can already state that the first
> suggestion (just changing fout to "nc") did not work for me yesterday. Per
> a section of the setfileoption documentation...
>
> "If the first argument is a string specifying a format, then the option
> setting applies to any file of the specified format when it is first opened
> using *addfile*<http://www.ncl.ucar.edu/Document/Functions/Built-in/addfile.shtml>
> or *addfiles
> <http://www.ncl.ucar.edu/Document/Functions/Built-in/addfiles.shtml>. *
> ... Files referenced by existing file variables will not be affected. On
> the other hand, options set using a file variable as the first argument
> affect only the specified file, and may alter NCL's treatment of it
> dynamically."
>
> ...would it be more logical to place setfileoption("nc",...,...)
> statements before the addfile call and setfileoption(fout,...,...)
> styled-statements after a file is open?
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Feb 14 14:32:48 2014

This archive was generated by hypermail 2.1.8 : Wed Feb 19 2014 - 15:58:35 MST