josephhardinee / PyDSD

Python Library for working with disdrometer data.
GNU Lesser General Public License v2.1
45 stars 33 forks source link

Is it possible to feed data with different format? #105

Open bikasbhattarai opened 2 years ago

bikasbhattarai commented 2 years ago

I have parsivel and thies lpm data and want to use PyDSD to analysis. But my data files is slightly different then the one presented here as test data. I tried to load using package but got error. If there is a way to feed this data then it will be very helpful. For reference I have also uploaded the sample data here with a link https://drive.google.com/drive/folders/1wNPYCEzhoq2gFVm98JZQpKTLP5V9KbSm?usp=sharing

josephhardinee commented 2 years ago

Sorry @bikasbhattarai I didn't see a notification for this issue and just saw it when responding to another one. It is quite possible to read in other data formats by either converting it, or just adding a new reader (which are pretty straight forward to write). I don't think the posted link still works, but if you are still interested let me know and we can look into this.

bikasbhattarai commented 2 years ago

Hello @josephhardinee thank you for responding my issue. I agree with you that It will be very useful if we could add a new reader instead of converting it. Yes you are right, the posted link did not work. Somehow I manage to read the data but it is not elegant way to do analysis. It will be very helpful if it works for my datafromat aswell. Looking forward @josephhardinee :)

bikasbhattarai commented 2 years ago

Above sample data link is expired so I have added new link for thies -lpm data: https://drive.google.com/file/d/1i6Mf5vt73UbLLdZH6guAnxlLmkWPbPoV/view?usp=sharing

josephhardinee commented 2 years ago

Do you have a user manual or spec sheet/list of what each column is for the output format you are using here? I looked up the Thies manual but the fixed format it lists does not appear to match this one so it may be an old manual.

On Tue, Jul 26, 2022 at 5:17 AM Bikas Chandra Bhattarai < @.***> wrote:

Above sample data link is expired so I have added new link for thies -lpm data:

https://drive.google.com/file/d/1i6Mf5vt73UbLLdZH6guAnxlLmkWPbPoV/view?usp=sharing

— Reply to this email directly, view it on GitHub https://github.com/josephhardinee/PyDSD/issues/105#issuecomment-1195407615, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFZ62COIADW5WSRH2KTB2TVV7JL7ANCNFSM5RHJSAPQ . You are receiving this because you were mentioned.Message ID: @.***>

-- Joseph Hardin, Ph.D.

One must do not violence to nature, nor model it in conformity to any blindly formed chimaera. -Janos Boylai

bikasbhattarai commented 2 years ago

Hei Joseph, Sorry for lately reply..I was on summer holiday. I have attached the user manual. Detail telegram from the thies is described in page 42. The only things that I added to each telegram is date-time (utc) at the beginning, and rest are same.

Best regards Bikas 5.4110.xx.xxx.pdf

josephhardinee commented 2 years ago

Thanks I will have a look at it this weekend and time willing try to get something together.

Sent from my iPhone

On Aug 1, 2022, at 12:36 AM, Bikas Chandra Bhattarai @.***> wrote:

 Hei Joseph, Sorry for lately reply..I was on summer holiday. I have attached the user manual. Detail telegram from the thies is described in page 42. The only things that I added to each telegram is date-time (utc) at the beginning, and rest are same.

Best regards Bikas 5.4110.xx.xxx.pdf

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

bikasbhattarai commented 2 years ago

Hi Joseph, is there any updates on that issue?