convert data file used in matlab to vdc format

3 posts / 0 new
Last post
geinosky
convert data file used in matlab to vdc format

Hi
I am new in vapor and i am looking for how is the conversion a file to vdc or whatever that VAPOR can read

scottgpearse

Hi Mohamad. It sounds like you're dealing with raw data values from your Matlab codes, so the tools you'll need are called 'vdfcreate' and 'raw2vdf'. All data sets require two tools to convert into VAPOR's format, and these two are for raw data. STEP 1: Create a .vdf metadata file that describes your raw output (https://www.vapor.ucar.edu/docs/reference-manuals/vdfcreate). STEP 2) Use the .vdf metadata file along with your matlab data to populate a wavelet-based VDC (https://www.vapor.ucar.edu/page/raw2vdf). Hopefully that gets you on the right track but let us know if you have any other questions.

scottgpearse

The 'vdfcreate' and 'raw2vdf' programs are issued through the command line terminal, not Matlab. You'll need to export your data in a raw, binary format; then use these tools (which are installed along side the VAPOR package) to convert your data into VDC. Hope that helps.