Yu-Kun Qian

Results 82 comments of Yu-Kun Qian

Thanks for your suggestions. I've already got this resolved using `proplot` as a workaround. However, if one uses a projection (e.g., `Robin`) other than `PlateCarree`, then the latitudes would be...

That is interesting. Could you provide a more concrete example on how to do this? I just go through the doc you send, and the simplest way is to convert...

>crs = get_data_projection(ctl) >cf = crs.to_cf() `get_data_projection` does not return a CRS but a ``. So I cannot find `to_cf()`. Have you tried this snippet?

I guess this is really new feature. The doc shows that api's name is `cs_to_cf()` at [here](https://scitools.org.uk/cartopy/docs/latest//reference/generated/cartopy.crs.CRS.html). I currently cannot make any test because I don't have the newest environment....

When I tried to solve #37, I found a workaround for this. I use cartopy 0.18.0 and the returned crs from `get_data_projection` is not a subclass of `pyproj.crs.CRS`. But we...

Hi @Mo-Dabao, that's very useful. Thank you for sharing this point. Recently, I've added a function to parse the global comments in ctl files output by WRF (see [here](https://github.com/miniufo/xgrads/blob/ed26d5ed93d18b417b59320c17b1ab0568fa8c2c/xgrads/core.py#L437)). I...

Yes, I didn't notice this. I have removed this dependency on GeoApps and made `Rearth` as a kwarg which allow users to change freely. Please see [here](https://github.com/miniufo/besttracks/blob/a320fe871cf7679a51baa3c609167e850a85562b/besttracks/core.py#L76). Thanks for pointing...

Not yet. Just feel that the station data format is uncommon in recent years. It is actually a list of (lon, lat, data), so it can be represented quite well...

Here is what I thought. The (normalized) area bounded by neighbouring lats and lons is exactly defined as: ```|lon1 - lon2| * |sin(lat1) - sin(lat2)| / (4*PI)``` See [here](https://ww2.mathworks.cn/help/map/ref/areaquad.html) for...

I just tried with my case and Huang's barotropic case, confirming that if [this line](https://github.com/miniufo/xcontour/blob/6e2be07c7583b4318dfee16a6e75239ad6e9a496/xcontour/core.py#L591): ```python m = eqDim>eqDim.values[j] if coord_incre else eqDim=eqDim.values[j] if coord_incre else eqDim