Re: Writing ascii data with NCL

From: <Jacob.Klee_at_nyahnyahspammersnyahnyah>
Date: Tue, 17 Apr 2007 13:49:36 -0400

Susan (and all),

Thank you for your email, as I literally I was about to sit down and email
essentially the same question and problem. As such though I'm not able to
offer much help.

So far the only (albeit far less than ideal) solution I have is to print to
the screen what I want and pipe the results to a log file, then using a
text editor clean up the resulting ASCII file.

I would similarly welcome any advice / tips.

-- Jacob Klee

                                                                           
             "O'Neill, Susan -
             Portland, OR"
             <susan.oneill_at_por To
             .usda.gov> <ncl-talk_at_ucar.edu>
             Sent by: cc
             ncl-talk-bounces@
             ucar.edu Subject
                                       [ncl-talk] Writing ascii data with
                                       NCL
             04/17/2007 12:46
             PM
                                                                           
                                                                           
                                                                           
                                                                           

Hi Everyone,

I am new to NCL and the ncl-talk list and have a question that I am
hoping is easy to answer.

Do you know if NCL can write to an ascii file in append mode? I would
like to loop through various hours of NARR files outputting a single
line to an ascii file with each hour. The asciiwrite function seems to
only do a single dump, so I have to load all the data in one big array.
The problem I'm running into is that that array is becoming HUGE and my
memory is using swap which is drastically reducing my runtime ... It
would be nice just to output the data every hr instead. Do you know if
that's possible?

Any insights/tips would be much appreciated, thank you!

             Susan

--------------------------------------------
Susan M. O'Neill, Ph.D.
Air Quality Engineer
USDA Natural Resources Conservation Service
Air Quality and Atmospheric Change Team
1201 NE Lloyd Blvd., Suite 1000
Portland, Oregon 97232-1202
503-273-2438 (work)
503-273-2401 (fax)
susan.oneill_at_por.usda.gov
--------------------------------------------
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-----------------------------------------
CONFIDENTIALITY NOTICE: This electronic message contains
information which may be legally confidential and/or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect. The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful. If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it. Thank you.

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Apr 17 2007 - 11:49:36 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 17 2007 - 15:41:32 MDT