PCMDI / nominal_resolution

tools to compute nominal resolution
3 stars 1 forks source link

Generate conda release for ease of install and updating #6

Closed durack1 closed 5 years ago

durack1 commented 5 years ago

I tried to install this package a week ago and hit issues, if it was wrapped up in a conda package this would be ideal, which would facilitate use, and in particular updating if we hit issues with certain grids.

A use case would be (after installing)

>>> import nominal_resolution
>>> import cdms2 as cdm
>>> f = 'infile.nc'
>>> fH = cdm.open(f)
>>> data = fH['variable']
...
>>> nomRes = nominal_resolution.mean_resolution(cellarea, latitude_bounds, longitude_bounds,
convertdeg2rad, returnMaxDistance=False)
durack1 commented 5 years ago

@doutriaux1 great, should this appear at https://anaconda.org/PCMDI/ or somewhere else?

doutriaux1 commented 5 years ago

https://anaconda.org/PCMDI/nominal_resolution