# HG changeset patch # User iannis_b # Date 1412893910 0 # Node ID 32fdf3d52505e7ce833e67dfcbba06e079669b37 # Parent fa814cbe01f92a0aac5b928efc804c3410ece6c0 README.rst edited online with Bitbucket diff -r fa814cbe01f9 -r 32fdf3d52505 README.rst --- a/README.rst Fri Oct 10 00:16:55 2014 +0200 +++ b/README.rst Thu Oct 09 22:31:50 2014 +0000 @@ -1,57 +1,57 @@ -EARLIENT netcdf format checker ------------------------------- - -The aim of this script is to check if a netcdf file has the correct -format to be used with the EARLINET's Single Calculus Chain. - -It can check raw lidar data format as well as ancillary file format -i.e. overlap, sounding, and lidar ratio files. - - -.. note: - This script can help you detect some usual mistakes, but does - not necessarily detect all possible errors in the files. In other - words, your file might look OK through this script but still give - errors when used in the SCC. In that case please let me know to add - the appropriate checks in the specifications. - - -Dependencies -~~~~~~~~~~~~ -You need to have the netCDF4 python module installed. - -https://pypi.python.org/pypi/netCDF4/ - - -Command line options -~~~~~~~~~~~~~~~~~~~~ - -Using the -h option in the command line, you can see the following instructions:: - - usage: netcdf_checker.py [-h] [-s {data,overlap,lidar_ratio,sounding}] - [-l {error,warning,notification}] - file - positional arguments: - file The path of the file to be checked - - optional arguments: - -h, --help show this help message and exit - -s {data,overlap,lidar_ratio,sounding}, --specs {data,overlap,lidar_ratio,sounding} - The specificiations to use - -l {error,warning,notification}, --level {error,warning,notification} - The output level - -Examples -~~~~~~~~ - -Check the format of a data file:: - - python netcdf_checker.py 20140101bu00.nc - -Check the format of a overlap file:: - - python netcdf_checker.py ov_20140101bu00.nc -s overlap - -Check a data file and print all messages, including notifications:: - - python netcdf_checker.py 20140101bu00.nc -l notification +EARLIENT netcdf format checker +------------------------------ + +The aim of this script is to check if a netcdf file has the correct +format to be used with the EARLINET's Single Calculus Chain. + +It can check raw lidar data format as well as ancillary file format +i.e. overlap, sounding, and lidar ratio files. + + +.. note:: + This script can help you detect some usual mistakes, but does + not necessarily detect all possible errors in the files. In other + words, your file might look OK through this script but still give + errors when used in the SCC. In that case please let me know to add + the appropriate checks in the specifications. + + +Dependencies +~~~~~~~~~~~~ +You need to have the netCDF4 python module installed. + +https://pypi.python.org/pypi/netCDF4/ + + +Command line options +~~~~~~~~~~~~~~~~~~~~ + +Using the -h option in the command line, you can see the following instructions:: + + usage: netcdf_checker.py [-h] [-s {data,overlap,lidar_ratio,sounding}] + [-l {error,warning,notification}] + file + positional arguments: + file The path of the file to be checked + + optional arguments: + -h, --help show this help message and exit + -s {data,overlap,lidar_ratio,sounding}, --specs {data,overlap,lidar_ratio,sounding} + The specificiations to use + -l {error,warning,notification}, --level {error,warning,notification} + The output level + +Examples +~~~~~~~~ + +Check the format of a data file:: + + python netcdf_checker.py 20140101bu00.nc + +Check the format of a overlap file:: + + python netcdf_checker.py ov_20140101bu00.nc -s overlap + +Check a data file and print all messages, including notifications:: + + python netcdf_checker.py 20140101bu00.nc -l notification \ No newline at end of file