read speed for ascii vs .nc

From: John Kerfoot <johnkerfoot_at_nyahnyahspammersnyahnyah>
Date: Mon Apr 04 2011 - 07:17:39 MDT

I'd like to plot U.S. state boundaries AND use the RANGS/GSHHS high
resolution map database. I'm pretty sure this isn't possible from
within NCL (?), so I found a shape file from USGS containing the
internal state boundaries (no coastlines) and converted it to ASCII
(~6Mb) and added a few lines to my script to read in the lat/lon
columns and plot the boundaries over my map. This does add a
noticeable amount of time to the script execution time.

I was wondering if it would be faster to write this dataset to a .nc
file and read the lat/lons in versus reading them in from the ASCII
file. I would imagine there is a performance increase associated with
reading from a .nc file versus an ascii text file?

John
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Apr 4 07:17:49 2011

This archive was generated by hypermail 2.1.8 : Tue Apr 05 2011 - 09:01:21 MDT