Main read/write utility for the Py-ADAPT package.
Makes use of the read() function to automatically detect the datastream of the netCDF file and pass it to the appropriate pyadapt.datastreams.default.ARMCLASS Class definition.
Note
See the read() function for more documentation
Automatically read the netCDF file passed into the routine and send it off to the appropriate Class definition to set up the data object.
Parameters: | in_file (str) – the filepath of the file you wish to look at |
---|---|
Returns: | ARMCLASS Class object |
USEAGE:
>>> import pyadapt
>>> sounding = pyadapt.read('inputfile.nc')
>>> sounding.plot()
The Py-ADAPT package currently supports the following datastreams
- SCATTERING
- SFCMET
- SOUNDINGS
Supported File Types
- .nc
- .cdf
- .cdf4