Yu-Kun Qian

Results 82 comments of Yu-Kun Qian

Hi @navidcy, that's necessary. I am thinking about it, and will fix this soon.

You're right. I am thinking of `np.isclose` to do this. Also, lat/lon (in degree) should be also checked too. Just curious what's the differece between `if ... then raise Exception('...')`...

This is done at [here](https://github.com/miniufo/xinvert/blob/9657ac140f54f133df8420394fd6390a66186fb4/xinvert/apps.py#L2175C1-L2175C39). So if a coordinate is non-uniform, it will raise an error now.

Hi, you can use latex here. So the equation looks like: ```math \nabla^2 p = - \rho \left[\left(\frac{\partial u}{\partial x}\right)^2 + \left(\frac{\partial v}{\partial y}\right)^2 + \left(\frac{\partial w}{\partial z}\right)^2\right] ``` For...

mxLoop=1 means you only iterate one time and then break the loop of iteration. If the equation is exactly Poisson-type, it should converge.

Hi @ngyawali, thanks for your interests. The xinvert package is built on finite difference schemes. So it would be more accurate if the grid interval is uniform. In your case,...

This is not a problem. One can still use the `T2` as a 4D variable. But **only the first level** (here is 1000 hPa) has the correct data, and other...

I also encountered this, but with my own dataset: ```python import xarray as xr import xbitinfo as xb ds = xr.open_dataset('/Data/2DTurbulence/4096/Output2D_4096_6.nc', chunks={'time':1}).isel(time=-5).load() print(ds) print('\n') bitinfo = xb.get_bitinformation(ds, dim='x') # calling...

When I use `counts = grouped.count()`, I can get all the bins and counts in the correct order, and the empty bin just returns nan. But I don't want aggregation...

Thanks @dcherian. I use the `get_group` function and solve my problem. But a warning arises at the line `if name not in self.groups:` as: `DeprecationWarning: elementwise comparison failed; this will...