html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/2288#issuecomment-499498940,https://api.github.com/repos/pydata/xarray/issues/2288,499498940,MDEyOklzc3VlQ29tbWVudDQ5OTQ5ODk0MA==,1828519,2019-06-06T13:42:42Z,2019-06-06T13:44:00Z,CONTRIBUTOR,"@Geosynopsis Cool. Your library is the third library that does something similar to what's discussed here (at least recently created ones). I'm glad there are so many people who need this functionality. The packages are: My un-started geoxarray project where I've tried to move these types of conversations (https://github.com/geoxarray/geoxarray) and rioxarray (https://github.com/corteva/rioxarray) which combines xarray and rasterio and started by @snowman2. Given what your project is trying to do maybe you could add the geopandas functionality on to rioxarray instead of a separate package? Let's discuss in an issue on rioxarray if possible, feel free to start it.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-417152163,https://api.github.com/repos/pydata/xarray/issues/2288,417152163,MDEyOklzc3VlQ29tbWVudDQxNzE1MjE2Mw==,1828519,2018-08-30T00:37:51Z,2018-08-30T00:37:51Z,CONTRIBUTOR,"@karimbahgat Thanks for the info and questions. As for xarray, it is a generic container format (array + dimensions + coordinates for those dimensions + attributes) but resembles the format of data stored in netcdf files. It can technically hold any N-dimensional data. This issue in particular is what is a good ""standard"" way for multiple libraries to represent CRS information in xarray's objects. I think the lack of documentation is pycrs is my biggest hurdle right now as I don't know *how* I'm supposed to use the library, but I want to. It may also be that my use cases for CRS information are different than yours, but the structure of the package is not intuitive to me. But again a simple example of passing a PROJ.4 string to something and getting a CRS object would solve all that. I'll make some issues on pycrs when I get a chance (add travis/appveyor tests, add documentation, base classes for certain things, etc). For geotiff's CRS I think with most geotiff-reading libraries you load the CRS info as a PROJ.4 string.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-415982335,https://api.github.com/repos/pydata/xarray/issues/2288,415982335,MDEyOklzc3VlQ29tbWVudDQxNTk4MjMzNQ==,1828519,2018-08-25T16:52:47Z,2018-08-25T16:52:47Z,CONTRIBUTOR,"I wouldn't mind that. There seems like there is already a package that handles this: https://github.com/karimbahgat/PyCRS @karimbahgat I'd love your input on this issue as a whole too. There are a couple things that I had in mind for a ""pycrs"" library to handle that *the* PyCRS library doesn't do (converting to other libraries' CRS objects), but maybe that is a good thing.","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-415844110,https://api.github.com/repos/pydata/xarray/issues/2288,415844110,MDEyOklzc3VlQ29tbWVudDQxNTg0NDExMA==,1828519,2018-08-24T18:29:51Z,2018-08-24T18:29:51Z,CONTRIBUTOR,"The question is what is the purpose of that new package? I wouldn't mind a new package like that, but then that becomes something like what was discussed in https://github.com/pangeo-data/pangeo/issues/356. That package should probably cover CRS objects and Grid definitions. Then libraries like geoxarray, pyresample, cartopy, and metpy could all use that library. If that library ends up covering resampling/transforming at all I'd say I'll just absorb that logic in to pyresample and provide some new interfaces to things. However, what does geoxarray become if it doesn't have that CRS logic in it. _Just_ an xarray accessor? I guess that makes sense from a ""Write programs that do one thing and do it well"" philosophy point of view.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-415633883,https://api.github.com/repos/pydata/xarray/issues/2288,415633883,MDEyOklzc3VlQ29tbWVudDQxNTYzMzg4Mw==,1828519,2018-08-24T02:41:00Z,2018-08-24T02:41:00Z,CONTRIBUTOR,"FYI I've started a really basic layout of the CRS object in geoxarray: https://github.com/geoxarray/geoxarray It doesn't actually do anything yet, but I copied all the utilities from pyresample that are useful (convert PROJ.4 to cartopy CRS, proj4 str to dict, etc). I decided that the CRS object should use the CF conventions naming for projection parameters based on a conversation I had with @dopplershift. The main factor being they are much more human readable than the PROJ.4 names. The issue with this is that I have much more experience dealing with PROJ.4 parameters. I can probably also get a lot of information from metpy's CF plotting code: https://github.com/Unidata/MetPy/blob/master/metpy/plots/mapping.py","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-412302416,https://api.github.com/repos/pydata/xarray/issues/2288,412302416,MDEyOklzc3VlQ29tbWVudDQxMjMwMjQxNg==,1828519,2018-08-11T21:24:05Z,2018-08-11T21:24:05Z,CONTRIBUTOR,"Would anyone that is watching this thread hate if I made geoxarray python 3.6+? I doubt there are any features that are needed in 3.6, but also am not going to support python 2. Additionally, @shoyer @fmaussion and any other xarray-dev, I've been thinking about the case where I have 2D image data and 2D longitude and latitude arrays (one lon/lat pair for each image pixel). Is there a way in xarray to associate these three arrays in a DataArray so that slicing is handled automatically but also *not* put the arrays in the coordinates? As mentioned above I don't want to put these lon/lat arrays in the `.coords` because they have to be fully computed if they are dask arrays (or at least that is my understanding). For my use cases this could mean a good chunk of memory being dedicated to these coordinates. From what I can tell my options are `.coords` or a `.Dataset` with all 3. Similarly, is there any concept like a ""hidden"" coordinate where utilities like `to_netcdf` ignore the coordinate and don't write it? Maybe something like `.coords['_crs'] = ""blah blah blah""`? I could always add this logic myself to geoxarray's version of `to_netcdf`.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-410308698,https://api.github.com/repos/pydata/xarray/issues/2288,410308698,MDEyOklzc3VlQ29tbWVudDQxMDMwODY5OA==,1828519,2018-08-03T16:36:55Z,2018-08-03T16:36:55Z,CONTRIBUTOR,"@wy2136 Very cool. We have the ability in satpy (via pyresample) to create cartopy CRS objects and therefore cartopy plots from our xarray DataArray objects: https://github.com/pytroll/pytroll-examples/blob/master/satpy/Cartopy%20Plot.ipynb It would be nice if we could work together in the future since it looks like you do a lot of the same stuff. When I make an official ""geoxarray"" library I think I'm going to make a ""geo"" accessor for some of these same operations (see above conversations).","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-410068839,https://api.github.com/repos/pydata/xarray/issues/2288,410068839,MDEyOklzc3VlQ29tbWVudDQxMDA2ODgzOQ==,1828519,2018-08-02T21:09:38Z,2018-08-02T21:09:38Z,CONTRIBUTOR,"For the user base I think if we can cover as many groups as possible that would be best. I know there are plenty of people who need to describe CRS information in their data, but don't use geotiffs and therefore don't really need rasterio/gdal. The group I immediately thought of was the metpy group which is why I talked to @dopplershift in the first place. The immediate need for this group (based on his scipy talk) will be people reading NetCDF files and putting the data on a cartopy plot. I think @dopplershift and I agreed that when it comes problems building/distributing software dealing with this type of data the cause is almost always gdal/libgdal. I'm in favor of making it optional if possible. For the `to_netcdf` stuff I think anything that needs to be ""adjusted"" before writing to a NetCDF file can be handled by required users to call `my_data.geo.to_netcdf(...)`. I'm not a huge fan of the accessor *adding* information automatically that the user didn't specifically request. Side effects on your data just for importing a module is not good. I will try to put together a package skeleton and lay out some of the stuff in my head in the next month, but am still catching up on work after SciPy and a week of vacation so not sure when exactly I'll get to it. I just did a search for ""geoxarray"" on github and @wy2136's repositories came up where they are importing a `geoxarray` package. @wy2136, is there another geoxarray project that we are not aware of? Do you have anything else to add to this discussion?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-408613922,https://api.github.com/repos/pydata/xarray/issues/2288,408613922,MDEyOklzc3VlQ29tbWVudDQwODYxMzkyMg==,1828519,2018-07-28T15:06:04Z,2018-07-28T15:06:04Z,CONTRIBUTOR,"I was talking with @dopplershift the other day on gitter and he brought up a very important point: no matter how CRS information is represented the user should be able to access the individual parameters (reference longitude, datum, etc). This lead me to think that a new CRS class is probably needed, even though I wanted to avoid it, because it would likely be one of the easiest ways to provide access to the individual parameters. There are already cartopy CRS objects that IMO are difficult to create and rasterio CRS objects that require gdal which is a pretty huge dependency to require users to install just to describe their data. That said, I think no matter how it is coded I don't want to duplicate all the work that has been done in rasterio/gdal for handling WKT and converting between different CRS formats. The other thing I've been pondering during idle brain time is: is it better for this library to *require* an xarray object to have projection information described in one and only one way (a CRS object instance for example) or does the xarray accessor handling multiple forms of this projection information. Does having a CRS object in `.coords` allow some functionality that a simple string would not have? Does not having a required `.coords` CRS element stop the accessor from adding one later? In the latter case of the accessor parsing existing attrs/coords/dims of the xarray object, I was thinking it could handle a PROJ.4 string and the CF ""grid_mapping"" specification to start. The main functionality that would be available here is that with little to no work a user could import geoxarray and have access to this to whatever functionality can be provided in a `.geo` accessor. Or if they load a netcdf file with `xr.open_dataset` there is no extra work required for a user to supply that data to another library that uses geoxarray.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-407753531,https://api.github.com/repos/pydata/xarray/issues/2288,407753531,MDEyOklzc3VlQ29tbWVudDQwNzc1MzUzMQ==,1828519,2018-07-25T13:26:45Z,2018-07-25T13:26:45Z,CONTRIBUTOR,"I was talking about `open_dataset` not reading standard CF files in the way we want, at least not the way it is now. I understand that setting the CRS in `.coords` will write out the CRS when you use `to_netcdf`. The issue is that a standard CF netcdf file created by someone else that strictly follows the CF standard will not be read in the same way. Put another way, you could not load a CF NetCDF file with `open_dataset` and write it out with `to_netcdf` and get the same output. Also note that having the `grid_mapping` as a coordinate in xarray object results in it being listed in the `coordinates` attribute in the output netcdf file which is technically not part of the CF standard.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-407742230,https://api.github.com/repos/pydata/xarray/issues/2288,407742230,MDEyOklzc3VlQ29tbWVudDQwNzc0MjIzMA==,1828519,2018-07-25T12:46:57Z,2018-07-25T12:50:04Z,CONTRIBUTOR,"> The files I have created have the crs coordinate variable inside Ok so the netcdf files that you have created and are reading with `xarray.open_dataset` have `grid_mapping` set to `""crs""` for your data variables, right? Do you also include a special `""crs""` dimension? I believe having this dimension would cause xarray to automatically consider `""crs""` a coordinate, but *this is not CF standard* from what I can tell. As I mentioned in [your other issue](https://github.com/pydata/xarray/issues/2308) the CF standard files I have for GOES-16 ABI L1B data do not have this ""crs"" dimension (or similarly named dimension) which means that the variable specified by the `grid_mapping` attribute is not considered a coordinate for the associated DataArray/Dataset. This means that to properly associate a CRS with a DataArray/Dataset this new library would require its own version of `open_dataset` to assign these things correctly based on `grid_mapping`. Since the library would require users to use this function instead of xarray's then I don't think it would be out of the question for it to also have a custom `to_netcdf` method if we chose to use a non-CF representation of the CRS information. Not saying I feel strongly about it, just pointing out that it isn't a huge leap to require users to use the new/custom methods.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-407564039,https://api.github.com/repos/pydata/xarray/issues/2288,407564039,MDEyOklzc3VlQ29tbWVudDQwNzU2NDAzOQ==,1828519,2018-07-24T21:52:01Z,2018-07-24T21:52:50Z,CONTRIBUTOR,"Regarding non-uniform datasets, I think we have a small misunderstanding. I'm talking about things like data from polar-orbiting satellites where the original data is only geolocated by longitude/latitude values per pixel and the spacing between these pixels is not uniform so you *need* every original longitude and latitude coordinate to properly geolocate the data (data, longitude, and latitude arrays all have the same shape). When it comes to the topics in this issue this is an problem because you would expect the lat/lon arrays to be set as coordinates but if you are dealing with dask arrays that means that these values are now fully computed (correct me if I'm wrong). For your example of adding a `crs` attribute, I understand that that is how one could do it, but I'm saying it is not already done in xarray's `open_dataset`. In my opinion this is one of the biggest downsides of the CF way of specifying projections, they are a special case that doesn't fit the rest of the NetCDF model well (a scalar with all valuable data in the attributes that is indirectly specified on data variables). In your example of methods is `to_projection` a remapping/resampling operation? If not, how does it differ from `set_crs`?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-407522046,https://api.github.com/repos/pydata/xarray/issues/2288,407522046,MDEyOklzc3VlQ29tbWVudDQwNzUyMjA0Ng==,1828519,2018-07-24T19:21:05Z,2018-07-24T19:21:05Z,CONTRIBUTOR,"@snowman2 Awesome. Thanks for the info, this is really good stuff to know. In your own projects and use of raster-like data, do you ever deal with non-uniform/non-projected data? How do you prefer to handle/store individual lon/lat values for each pixel? Also it looks like xarray would have to be updated to add the ""crs"" coordinate since currently it is not considered a coordinate variable. So a new library may need to have custom to_netcdf/open_dataset methods, right? It kind of seems like a new library may be needed for this although I was hoping to avoid it. All of the conversions we've talked about could be really useful to a lot of people. I'm not aware of an existing library that handles these conversions as one of its main purposes and they always end up as a ""nice utility"" that helps the library as a whole. It seems like a library to solve this issue should be able to do the following: 1. Store CRS information in xarray objects 2. Write properly geolocated netcdf and geotiff files from xarray objects. 3. Read netcdf and geotiff files as properly described xarray objects. 4. Convert CRS information from one format to another: WKT, EPSG (if available), PROJ.4 str/dict, rasterio CRS, cartopy CRS 5. Optionally (why not) be able to resample datasets to other projections. Beyond reading/writing NetCDF and geotiff files I would be worried that this new library could easily suffer from major scope creep. Especially since this is one of the main purposes of the satpy library, even if it is dedicated to satellite imagery right now. @snowman2 I'm guessing the data cube project has similar use cases. If the reading/writing is limited to a specific set of formats then I could see pyresample being a playground for this type of functionality. The main reason for a playground versus a new from-scratch package would be the use of existing utilities in pyresample assuming resampling is a major feature of this new specification. Yet another braindump...complete.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-407394381,https://api.github.com/repos/pydata/xarray/issues/2288,407394381,MDEyOklzc3VlQ29tbWVudDQwNzM5NDM4MQ==,1828519,2018-07-24T12:47:55Z,2018-07-24T12:47:55Z,CONTRIBUTOR,"@snowman2 I thought about that too, but here are the reasons I came up with for why this might not be the best idea: 1. CF conventions change over time and depending on which version of the standard you are using, things can be represented differently. This would tie a geoxarray-like library to a specific version of the CF standard which may be confusing and would require adjustments when writing to a NetCDF file to match the user's desired version of the standard. 2. Using a CF standard CRS description would require conversion to something more useful for just about every use case (that I can think of) that isn't saving to a netcdf file. For example, a PROJ.4 string can be passed to `pyproj.Proj` or in the near future cartopy to convert to a cartopy CRS object. 3. If we have to add more information to the `crs` coordinate to make it more useful like a PROJ.4 string then we end up with multiple representations of the same thing, making maintenance of the information harder. The result of this github issue should either be a new package that solves all (90+%) of these topics or an easy to implement, easy to use, geolocation description best practice so that libraries can more easily communicate. I think with the CF standard CRS object we would definitely need a new library to provide all the utilities for converting to and from various things. Lastly, I don't know if I trust CF to be the one source of truth for stuff like this. If I've missed some other obvious benefits of this or if working with WKT or the CF standard CRS attributes isn't actually that complicated let me know.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-406704673,https://api.github.com/repos/pydata/xarray/issues/2288,406704673,MDEyOklzc3VlQ29tbWVudDQwNjcwNDY3Mw==,1828519,2018-07-20T19:30:53Z,2018-07-20T19:30:53Z,CONTRIBUTOR,"I've thought about this a little more and I agree with @fmaussion that this doesn't need to be added to xarray. I think if ""we"", developers who work with projected datasets, can agree that ""crs"" in an xarray objects coordinates is a PROJ.4 string then that's half the battle of passing them between libraries. If not a PROJ.4 string, other ideas (dict?)? I initially had the idea to start a new `geoxarray` type library but the more I thought about what features I would want in it, it started looking a lot like a new interface on pyresample via an xarray accessor. If not an accessor then a subclass but that defeats the purpose (easy collaboration between libraries). I'd also like to use the name ""geo"" for the accessor but have a feeling that won't jive well with everyone so I will likely fall back to ""pyresample"". One thing that just came to mind while typing this that is another difficulty is that there will still be the need to have an object like pyresample's `AreaDefinition` to represent a geographic region (projection, extents, size). These could then be passed to things like a `.resample` method as a target projection or slicing based on another projection's coordinates. When I started typing this I thought I had it all laid out in my head, not anymore. 😢 ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-405616219,https://api.github.com/repos/pydata/xarray/issues/2288,405616219,MDEyOklzc3VlQ29tbWVudDQwNTYxNjIxOQ==,1828519,2018-07-17T15:06:54Z,2018-07-17T15:06:54Z,CONTRIBUTOR,@shoyer I haven't read all of #1092 but that is another related issue for satpy where some satellite data formats use groups in NetCDF files which makes it difficult to use `xr.open_dataset` to access all the variables inside the file.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-405263631,https://api.github.com/repos/pydata/xarray/issues/2288,405263631,MDEyOklzc3VlQ29tbWVudDQwNTI2MzYzMQ==,1828519,2018-07-16T14:20:43Z,2018-07-16T14:20:43Z,CONTRIBUTOR,"@fmaussion I guess you're right. And that set of attributes to keep during certain operations would be very nice in my satpy library. We currently have to do a lot of special handling of that. The one thing that a crs coordinate (PROJ.4 dict or str) doesn't handle is specifying what other coordinates define the X/Y projection coordinates. This logic also helps with non-uniform datasets where a longitude and latitude coordinate are needed. Of course, a downstream library could just define some type of standard for this. However, there are edge cases where I think the default handling of these coordinates by xarray would be bad. For example, satpy doesn't currently use `Dataset` objects directly and only uses `DataArray`s because of how coordinates have to be handled in a Dataset: ```In [3]: a = xr.DataArray(np.zeros((5, 10), dtype=np.float32), coords={'y': np.arange(5.), 'x': np.arange(10.)}, dims=('y', 'x')) In [4]: b = xr.DataArray(np.zeros((5, 10), dtype=np.float32), coords={'y': np.arange(2., 7.), 'x': np.arange(2., 12.)}, dims=('y', 'x')) In [6]: ds = xr.Dataset({'a': a, 'b': b}) In [7]: ds.coords Out[7]: Coordinates: * y (y) float64 0.0 1.0 2.0 3.0 4.0 5.0 6.0 * x (x) float64 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 ``` But I guess that is intended behavior and if the `crs` is a coordinate then joining things from different projections would not be allowed and raise an exception. However that is exactly what satpy wants/needs to handle in some cases (satellite datasets at different resolutions, multiple 'regions' of from the same overall instrument, two channels from the same instrument with slightly shifted geolocation, etc). I'm kind of just thinking out loud here, but I'll think about this more in my idle brain cycles today.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-405110142,https://api.github.com/repos/pydata/xarray/issues/2288,405110142,MDEyOklzc3VlQ29tbWVudDQwNTExMDE0Mg==,1828519,2018-07-15T18:48:01Z,2018-07-15T18:48:01Z,CONTRIBUTOR,Also I should add the `geopandas` library as another reference.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807 https://github.com/pydata/xarray/issues/2288#issuecomment-405109909,https://api.github.com/repos/pydata/xarray/issues/2288,405109909,MDEyOklzc3VlQ29tbWVudDQwNTEwOTkwOQ==,1828519,2018-07-15T18:43:43Z,2018-07-15T18:44:33Z,CONTRIBUTOR,"@fmaussion Note that I am the one who started the PROJ.4 CRS in cartopy pull request (https://github.com/SciTools/cartopy/pull/1023) and that it was this work that I copied to pyresample for my own pyresample work since I didn't want to wait for everything to be flushed out in cartopy. You can see an example of the `to_cartopy_crs` method here: https://github.com/pytroll/pytroll-examples/blob/master/satpy/Cartopy%20Plot.ipynb It's also these cartopy CRS issues that make me think that Cartopy CRS objects aren't the right solution for this type of logic as a ""how to represent CRS objects"". In my experience (see: my cartopy PR :wink:) and watching and talking with people at SciPy 2018 is that multiple projects have work arounds for passing their CRS/projection information to cartopy. In my biased experience/opinion PROJ.4 is or can be used in quite a few libraries/fields. If PROJ.4 or something that accepts PROJ.4 isn't used then we might as well come up with a new standard way of defining projections...just kidding. Side note: FYI the geotiff format does not currently accept the sweep axis parameter `+sweep` that PROJ.4 needs to properly describe the geos projection used by GOES-16 ABI satellite instrument data. I've contacted some of the geotiff library people at some point and from what I remember it was a dead end without a lot of work behind fixing it.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,341331807