Closed spirrobe closed 1 year ago
Hi, thanks for the input! It would be good the get the support for znc files. Will you open a pull request about this or should we just implement your suggestion above? We can refactor the code later if needed. I also think it makes sense to have znc as the first option if you have both formats. Can you send me one znc file so that I can test with it (attach here or email to actris-cloudnet@fmi.fi).
Of course, find some example files (raw mira) at https://iacweb.ethz.ch/staff/rspirig/cloudlab/quicklooks/cloudnet/example/ as github has a file size limit of 25 mb
Hi
We are running cloudnetpy for our site Eriswil seperate from the cloudnethub (see here). In our last campaigns setup we did run a "new" STSR mira, and we tend to generally use the znc files over the mmclx files. However, mira2nc relies on the mmclx file type, which does not contain a proper LDR in this case as the new file type from Metek is znc. Since cloudnetpy does not rely on the additional classification in the mmclx, there is the possibility to use znc instead which as the same time can solve the issue with the LDR. I adjusted the code (see below) to be able to read ZNC, of the new LDR(h2l) and the old LDR(g) of znc files. When available the LDRh2l takes precedence, if not then the usual LDRg. Additionally, when tying in with the change to a list of files, the
Open points:
Pull request at #84 and includes changes from #80
git diff is attached as text file: mirapy_diff.txt