Skip to content

consistency with proj4 updates#1

Open
gewitterblitz wants to merge 1 commit into
vbalderdash:masterfrom
gewitterblitz:proj4_mods
Open

consistency with proj4 updates#1
gewitterblitz wants to merge 1 commit into
vbalderdash:masterfrom
gewitterblitz:proj4_mods

Conversation

@gewitterblitz

@gewitterblitz gewitterblitz commented Dec 9, 2020

Copy link
Copy Markdown

fromECEF function in MapProjection class of coordinateSystems.py module needs to be updated as per the proj4 requirements as discussed in lmatools issue #28 and #29 by @deeplycloudy.

I just copied the same lines from coordinateSystem.py module in lmatools over here.

This should fix the pyproj.exceptions.ProjError: x,y,z, and time must be same size error while running the General calculations at grid points block with just_rms = False in the LMAsimulation_full.ipynb file.

@gewitterblitz

Copy link
Copy Markdown
Author

Update: Although the code ran without any errors, the plots don't look as expected. I did not realize that @deeplycloudy had issue #29 still open in lmatools. Anyway, here are the plots in case you are curious.

lma_full_avgerror

lma_full_error

lma_full_mean_azimutherror

Please feel free to reject this pull request.

FWIW, I am currently running LMAsimulation_full.ipynb with pyproj version 1.9.5.1 without any modifications to coordinateSystems.py this time.

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.

1 participant