non-standard ascii to netcdf
DESCRIPTION
Non-standard ASCII to netCDF. CF Conventions REQUIRE Latitude Longitude Date/Time …for EVERY observation. Bad ASCII. Better ASCII. Best (conforming) ASCII. Options. Have PI’s submit data in netCDF Have PI’s submit data in CF -> netCDF compliant ASCII Accept any data in any form. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/1.jpg)
Non-standard ASCII tonetCDF
![Page 2: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/2.jpg)
CF ConventionsREQUIRELatitude
LongitudeDate/Time
…for EVERY observation
![Page 3: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/3.jpg)
Bad ASCII
![Page 4: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/4.jpg)
Better ASCII
![Page 5: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/5.jpg)
Best (conforming) ASCII
![Page 6: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/6.jpg)
Options
• Have PI’s submit data in netCDF• Have PI’s submit data in CF -> netCDF
compliant ASCII• Accept any data in any form
![Page 7: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/7.jpg)
.xls is the most used data formatComplete (conforming) ASCII can readily be
transformed to netCDF.Non-standard data formats will likely not be
supported by funding agencies in the future.
![Page 8: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/8.jpg)
How to ingest non-standard ASCII data into the IDV for display and
export to netCDF• Step one – Add missing fields to file to become CF
netCDF compliant: via Excel or editor of choice and save as a .txt file (Tab, space, or comma separated)
• Latitude• Longitude• Date/Time
![Page 9: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/9.jpg)
Step Two: Import file to IDVfrom Dashboard “File” -> “Open”
..as “Text Point Data files”, then “Add Source”
![Page 10: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/10.jpg)
A “Point Data” GUI will pop-up.-Select appropriate “Delimiter”
![Page 11: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/11.jpg)
Use the up and down arrow keys toscroll down to where the data begins then enter the variable names and units of the data set as needed. You can use the “pull down” menus for some pre-populated fields.
Once entered save off via “Preferences” and name as desired, then this process will not need to be repeated for like datasets.
![Page 12: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/12.jpg)
• The “Dashboard” will display and under “Fields”, select “Point Data” and under “Displays” select “Point Data List”, then “Create Display”
![Page 13: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/13.jpg)
The “Dashboard” will display and you must now enter your desired variables via “Select Fields”. Generally, one will add all.
![Page 14: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/14.jpg)
![Page 15: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/15.jpg)
Then, “File” -> “Save” -> Export all data to NetCDF
![Page 16: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/16.jpg)
Name *.nc and “Save” as desired
![Page 17: Non-standard ASCII to netCDF](https://reader036.vdocuments.net/reader036/viewer/2022062310/56816682550346895dda2792/html5/thumbnails/17.jpg)
Resources
• IDV Users Guide– 7.5.1 and others
• NetCDF Users Guide