[ncarg-talk] Overwriting Previous Line on Command Line from NCL

Mary Haley haley at ucar.edu
Thu Feb 18 10:01:53 MST 2016


Sam,

Please repost this NCL question to ncl-talk at ucar.edu. ncarg-talk is for
people using the old NCAR Graphics package, and it barely gets any
traffic.  You need to subscribe to ncl-talk before you can post:

http://mailman.ucar.edu/mailman/admin/ncl-talk

Thanks for your time,

--Mary


On Mon, Feb 15, 2016 at 2:56 PM, Samuel Roback <scroback at ncsu.edu> wrote:

> Hi,
>
> I'm attempting to show the progress through a loop in NCL. Instead of
> writing the percentage completed to a new line during each loop iteration
> using print(), I want to overwrite the previous line.
>
> For more clarification I'd like something that is constantly being
> overwritten to show the current progress:
>
> 35.3% Completed
>
> Rather than something like this:
>
> 35.2% Completed
> 35.3% Completed
> 35.4% Completed
> etc.
>
> I've searched through the function codes that manipulate strings, but I
> couldn't find anything. Is this even possible via NCL?
>
> Thanks
>
> -Sam
>
>
>
> _______________________________________________
> ncarg-talk mailing list
> ncarg-talk at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncarg-talk/attachments/20160218/81dabc68/attachment.html 


More information about the ncarg-talk mailing list