kinow / pccora

PC-CORA parser for Python
https://pypi.org/project/pccora/
MIT License
3 stars 3 forks source link

Include high resolution data #3

Closed kinow closed 8 years ago

kinow commented 8 years ago

From the PC-CORA format at [1]

""" The first 25 data records in an EDT file are always reserved for standard level data. The standard levels are sorted according to ascending height. The 26th data record contains ground level data. The rest of the levels are sorted according to ascending height. """

That's exactly what the original code is doing at [2]

[1] https://badc.nerc.ac.uk/data/ukmo-rad-hires/pc-coradata.html [2] https://github.com/vnoel/pycode/blob/35bd471bc82828685dd814cb690a43d42d0ffc42/pccora.py#L149

kinow commented 8 years ago

Done. The 25 first entries are data. The rest hires data. The length is specified in another section (identification or head).