preliminary code to read in zrxp files and plot and write to database