Xin Zhang

Results 94 comments of Xin Zhang

I'm having the same issue with a long publication list and am not sure how to apply longtable. Temporary solution: Split into several cvhonors. ``` \cvsection{Publications} \begin{cvhonors} ............ \end{cvhonors} \begin{cvhonors}...

@pnuu Thanks, but I got another error when using ``` new_scn = scn.resample(area, resampler='bucket_sum') ``` ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) in 2 reader=reader) 3 scn.load([channel]) ----> 4...

Another point: Shouldn't `get_sum` keep nan or fill_value instead of 0?

I suppose so. Because `get_min`, `get_max`, `get_average`, and `get_fractions` all have this option.

Yes, I wanna use it with satpy. I have run it successfully by converting the Scene to Dataset and regridding it by xESMF. Because xESMF needs specific lon/lat/lon_b/lat_b variables, it's...

Here's the concept of conservative resampler which considers the weighted average: ![image](https://user-images.githubusercontent.com/30388627/177344023-329287d9-8ab4-4981-9722-73bb72a582fd.png)

Got it. For the new conservative resampler, here's my idea: If lon_b and lat_b are not available, we can create them following my [notebook](https://gist.github.com/zxdawn/49c73e4d1ef9043580644e57eaa16d83) method which uses xgcm. I suppose...

The idea of `get_lonlats_corners()` and `get_lonlats_bounds()` is good. I tried to dig deeper how xgcm calculates the boundary for 2D coordinates ... And, I found C-grid but then lost in...

Any updates? It still exists in v0.20.1.

This is caused by the how xarray reads variables in group: ``` xr.open_dataset('./201908/S5P_PAL__L2__NO2____20190811T022605_20190811T040734_09459_01_020301_20211110T023157.nc', group='PRODUCT/')['nitrogendioxide_tropospheric_column'] ``` ![image](https://user-images.githubusercontent.com/30388627/146638190-8a5f77c4-8536-449b-acfb-57a8276f8977.png) ``` xr.open_dataset('./201908/S5P_PAL__L2__NO2____20190811T022605_20190811T040734_09459_01_020301_20211110T023157.nc', group='PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/')['air_mass_factor_clear'] ``` ![image](https://user-images.githubusercontent.com/30388627/146638200-85128895-895b-4656-91e6-61d20cdc30ff.png) The coordinates are missing in the subgroup.