--
You received this message because you are subscribed to the Google Groups "xarray" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xarray+un...@googlegroups.com.
To post to this group, send email to xar...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xarray/9086da47-cbd6-4344-b617-80f422058de2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello,
Of courses I checked the tutorials, indeed it wasn't enough for me.For example I haven't found yet how to ruen make a dimension coordinate to a non-dimension coordinate.I'm having a hard time figuring out what's the best way to build efficiently my xarray model.
I'm seeing so much possibilities and some that seems "ok" to me are probably not for reasons I ignore yet.
Here's an example close to the data I'm working with :
10 mobile acquisition cards
One measurement around every 60s.
On each sensor I have :
- Date (Indexed, I resampled my data per minuture because I wanted the axis to match and not to oversample, I hope it's a good approach)
- General info: Temperature / Humidity / Pressure
- GPS information : Lat / Long / Alt
- Six other measurements (P1/P2 ... P6)
Right now I have all those data stored in one dataframe for each acquisition card.
I would like to combines all those dataframes in one xarray to the smartest possible way.
I want to of course plot data on a map, but on the long term to goal is to be able to :
- Research
- Real-time plotting
- Machine learning for events prediction.
So xarray seemed a good idea.
I wrote the syntax of the models I built. And I know it's not the best way.
A model where each dataframe corresponds to an object in data variables :
______________________________________________
Dimensions: (Date: 200000, variables: 12)
Coordinates:
* Date (Date)
* Variables (Variables) 'Altitude' 'Longitude' 'Altitude' 'P1' 'P2' 'P3' ...
Data variables:
Sensor1 (Date, Variables)
Sensor2 (Date, Variables)
Sensor3 (Date, Variables)
______________________________________________
A model where each Data variable is... a variable, therefore we just have 1D for each variable______________________________________________Dimensions: (Date: 200000, GPS)Coordinates:SensorName <U5 'AIT01'Long* Date (Date)Data variables:Temperature (Date)Humidity (Date)Pressure (Date)PM25 (Date)PM10 (Date)PM1 (Date)Position (Date, GPS)______________________________________________
--
You received this message because you are subscribed to the Google Groups "xarray" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xarray+unsubscribe@googlegroups.com.
To post to this group, send email to xar...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xarray/38e8292f-a172-4fcc-bbe6-081c7b559510%40googlegroups.com.