Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

circular grib lons #2

Merged
merged 2 commits into from
Oct 1, 2012
Merged

circular grib lons #2

merged 2 commits into from
Oct 1, 2012

Conversation

bblay
Copy link

@bblay bblay commented Sep 28, 2012

No description provided.

@@ -25,28 +25,28 @@ grib.gridType=="regular_ll"
grib.jPointsAreConsecutive == 0
THEN
CoordAndDims(DimCoord(numpy.arange(grib.Nj, dtype=numpy.float64) * grib.jDirectionIncrementInDegrees * (grib.jScansPositively*2-1) + grib.latitudeOfFirstGridPointInDegrees, grib._y_coord_name, units='degrees', coord_system=grib._coord_system), 0)
CoordAndDims(DimCoord(numpy.arange(grib.Ni) * grib.iDirectionIncrementInDegrees * (grib.iScansNegatively*(-2)+1) + grib.longitudeOfFirstGridPointInDegrees, grib._x_coord_name, units='degrees', coord_system=grib._coord_system), 1)
CoordAndDims(DimCoord(numpy.arange(grib.Ni, dtype=numpy.float64) * grib.iDirectionIncrementInDegrees * (grib.iScansNegatively*(-2)+1) + grib.longitudeOfFirstGridPointInDegrees, grib._x_coord_name, units='degrees', coord_system=grib._coord_system, circular=grib._x_circular), 1)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These lines are so crazily long that I missed the whole circular=grib._x_circular thing the first time through! I know you can't reformat because of the limitations of the file format (that's another story!), but perhaps the refactor you mention later would help.

@bblay bblay closed this Oct 1, 2012
@bblay bblay reopened this Oct 1, 2012
rhattersley added a commit that referenced this pull request Oct 1, 2012
GRIB load sets `circular`
@rhattersley rhattersley merged commit 2679f3b into rhattersley:pycarto++ Oct 1, 2012
rhattersley pushed a commit that referenced this pull request Oct 24, 2012
rhattersley pushed a commit that referenced this pull request Mar 21, 2013
rhattersley pushed a commit that referenced this pull request Mar 12, 2015
rhattersley pushed a commit that referenced this pull request Sep 23, 2015
Isolate netcdf_promote adjustment
rhattersley pushed a commit that referenced this pull request Feb 14, 2020
…ciTools#2447)

Replace dask 'compute()' usage with a common realisation call.
rhattersley pushed a commit that referenced this pull request Feb 14, 2020
removed gitter from contact list
rhattersley pushed a commit that referenced this pull request Feb 14, 2020
* dress naked excepts

* fix tests

* keep sticker happy

* Improve Python3 inspection style in maths.IFunc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants