!kSAxcBUchQDkBtKcuV:matrix.org

Fatiando a Terra - verde

1 Members
+fatiando:matrix.org1 Servers

Load older messages


SenderMessageTime
18 May 2021
@_slack_fatiando_UMW0N7P0F:matrix.org@_slack_fatiando_UMW0N7P0F:matrix.org joined the room.08:15:13
@_slack_fatiando_UMW0N7P0F:matrix.org@_slack_fatiando_UMW0N7P0F:matrix.org changed their display name from _slack_fatiando_UMW0N7P0F to Mohamed Sobh.08:15:13
@_slack_fatiando_UMW0N7P0F:matrix.org@_slack_fatiando_UMW0N7P0F:matrix.org set a profile picture.08:15:14
@_slack_fatiando_U022GF9FVLL:matrix.org@_slack_fatiando_U022GF9FVLL:matrix.org joined the room.19:18:11
@_slack_fatiando_U022GF9FVLL:matrix.org@_slack_fatiando_U022GF9FVLL:matrix.org Unsure if this is a Verde Q, or better for xarray. But if I wanted to calculate 2D gradients of a surface, Is that something you would do inside of Verde or no? 19:19:26
@_slack_fatiando_UMSRSPEMA:matrix.org@_slack_fatiando_UMSRSPEMA:matrix.org
In reply to@_slack_fatiando_U022GF9FVLL:matrix.org
Unsure if this is a Verde Q, or better for xarray. But if I wanted to calculate 2D gradients of a surface, Is that something you would do inside of Verde or no?
We don't have anything specific for that yet, sorry. I'm assuming you already have a grid, right? If so, a finite difference derivative with pure xarray should be doable. Otherwise, you could fit a Spline to points and do a finite difference calculation with predict. I have a PR open for something that does exactly that (haven't had time to finish it, though).
20:12:46
@_slack_fatiando_UMSRSPEMA:matrix.org@_slack_fatiando_UMSRSPEMA:matrix.org
In reply to@_slack_fatiando_UMSRSPEMA:matrix.org
We don't have anything specific for that yet, sorry. I'm assuming you already have a grid, right? If so, a finite difference derivative with pure xarray should be doable. Otherwise, you could fit a Spline to points and do a finite difference calculation with predict. I have a PR open for something that does exactly that (haven't had time to finish it, though).
Actually, if you have a grid already it's pretty easy: http://xarray.pydata.org/en/stable/generated/xarray.DataArray.differentiate.html
20:13:49
@_slack_fatiando_U022GF9FVLL:matrix.org@_slack_fatiando_U022GF9FVLL:matrix.org
In reply to@_slack_fatiando_UMSRSPEMA:matrix.org
Actually, if you have a grid already it's pretty easy: http://xarray.pydata.org/en/stable/generated/xarray.DataArray.differentiate.html
No worries! I am happy to do it in xarray. I just am not trying to chase my tail šŸ™‚ Thanks Leo!
20:15:41
@_slack_fatiando_U022GF9FVLL:matrix.org@_slack_fatiando_U022GF9FVLL:matrix.org
In reply to@_slack_fatiando_U022GF9FVLL:matrix.org
No worries! I am happy to do it in xarray. I just am not trying to chase my tail šŸ™‚ Thanks Leo!
I am going to go from points -> Verde -> xarray -> derivatives
20:16:24
@_slack_fatiando_UMSRSPEMA:matrix.org@_slack_fatiando_UMSRSPEMA:matrix.org
In reply to@_slack_fatiando_U022GF9FVLL:matrix.org
I am going to go from points -> Verde -> xarray -> derivatives
šŸ‘ Glad to help! I'm hoping to find some time to work on https://github.com/fatiando/verde/pull/245 over the summer break, It would help skip a step in that process.
20:18:27
19 May 2021
@_slack_fatiando_U0156QCM6AH:matrix.org@_slack_fatiando_U0156QCM6AH:matrix.org
In reply to@_slack_fatiando_UMSRSPEMA:matrix.org
šŸ‘ Glad to help! I'm hoping to find some time to work on https://github.com/fatiando/verde/pull/245 over the summer break, It would help skip a step in that process.
Sounds good
11:01:54
@_slack_fatiando_U022GF9FVLL:matrix.org@_slack_fatiando_U022GF9FVLL:matrix.org
In reply to@_slack_fatiando_U0156QCM6AH:matrix.org
Sounds good
Any thoughts on xarray vs vaex? https://vaex.io/docs/index.html#
16:16:59
21 May 2021
@_slack_fatiando_U022GF9FVLL:matrix.org@_slack_fatiando_U022GF9FVLL:matrix.orgRedacted or Malformed Event16:20:05
@_slack_fatiando_U022GF9FVLL:matrix.org@_slack_fatiando_U022GF9FVLL:matrix.orgRedacted or Malformed Event16:20:23
22 May 2021
@_slack_fatiando_UMSRSPEMA:matrix.org@_slack_fatiando_UMSRSPEMA:matrix.org
In reply to@_slack_fatiando_U022GF9FVLL:matrix.org
Any thoughts on xarray vs vaex? https://vaex.io/docs/index.html#
Never really used vaex but it seems made for data frames / tables rather than grid and multidimensional arrays. But it looks really promising and Iā€™d like to see how they do things under the hood
07:56:20
24 May 2021
@_slack_fatiando_U022GF9FVLL:matrix.org@_slack_fatiando_U022GF9FVLL:matrix.org
In reply to@_slack_fatiando_UMSRSPEMA:matrix.org
Never really used vaex but it seems made for data frames / tables rather than grid and multidimensional arrays. But it looks really promising and Iā€™d like to see how they do things under the hood
At least for datasets of this size (1-5GB's) it seemed the same speed as pandas? I didn't do extensive testing, but at first sniff I could not see a big reason to move to vaex
16:28:25
@_slack_fatiando_U0156QCM6AH:matrix.org@_slack_fatiando_U0156QCM6AH:matrix.org
In reply to@_slack_fatiando_U022GF9FVLL:matrix.org
At least for datasets of this size (1-5GB's) it seemed the same speed as pandas? I didn't do extensive testing, but at first sniff I could not see a big reason to move to vaex
No, would need to have a case where it was better or have something different I think
21:10:15
@_slack_fatiando_U022GF9FVLL:matrix.org@_slack_fatiando_U022GF9FVLL:matrix.orgRedacted or Malformed Event23:02:52
25 May 2021
@_slack_fatiando_UMSRSPEMA:matrix.org@_slack_fatiando_UMSRSPEMA:matrix.org
In reply to@_slack_fatiando_U0156QCM6AH:matrix.org
No, would need to have a case where it was better or have something different I think
Maybe when the data is too big for RAM? But then you also have Dask for those cases šŸ¤·ā€ā™‚ļø
08:33:41
@_slack_fatiando_U022GF9FVLL:matrix.org@_slack_fatiando_U022GF9FVLL:matrix.org
In reply to@_slack_fatiando_UMSRSPEMA:matrix.org
Maybe when the data is too big for RAM? But then you also have Dask for those cases šŸ¤·ā€ā™‚ļø
Yeah I saw someone else was making the same point. Unsure of the exact use case.
16:11:07
26 May 2021
@_slack_fatiando_U0156QCM6AH:matrix.org@_slack_fatiando_U0156QCM6AH:matrix.org
In reply to@_slack_fatiando_U022GF9FVLL:matrix.org
Yeah I saw someone else was making the same point. Unsure of the exact use case.
Yes, it has lazy evaluation...Vaex I think did well in a comparison I read last year with respect to computation speed
11:38:35
@_slack_fatiando_U0156QCM6AH:matrix.org@_slack_fatiando_U0156QCM6AH:matrix.org
In reply to@_slack_fatiando_U0156QCM6AH:matrix.org
Yes, it has lazy evaluation...Vaex I think did well in a comparison I read last year with respect to computation speed
So might be cases it is better at for those if that matters
11:39:06
4 Jun 2021
@_slack_fatiando_U02433F9LUU:matrix.org@_slack_fatiando_U02433F9LUU:matrix.org joined the room.12:28:27
9 Jun 2021
@_slack_fatiando_U023T3QJM3Q:matrix.org@_slack_fatiando_U023T3QJM3Q:matrix.org joined the room.06:37:33
23 Jun 2021
@_slack_fatiando_U02226EL2US:matrix.org@_slack_fatiando_U02226EL2US:matrix.org joined the room.18:50:23
28 Jun 2021
@_slack_fatiando_U026EEAD5TL:matrix.org@_slack_fatiando_U026EEAD5TL:matrix.org joined the room.17:16:19
29 Jun 2021
@_slack_fatiando_U026EEAD5TL:matrix.org@_slack_fatiando_U026EEAD5TL:matrix.org changed their profile picture.14:08:11
8 Aug 2021
@_slack_fatiando_U028J6AC941:matrix.org@_slack_fatiando_U028J6AC941:matrix.org joined the room.13:55:29
24 Aug 2021
@_slack_fatiando_U02BPJ4RTFH:matrix.org@_slack_fatiando_U02BPJ4RTFH:matrix.org joined the room.05:58:41
28 Aug 2021
@_slack_fatiando_U02DC7VU0U8:matrix.org@_slack_fatiando_U02DC7VU0U8:matrix.org joined the room.00:02:12

Show newer messages


Back to Room ListRoom Version: 5