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

Extrapolating mesh grids for data that occur in both Northern and Southern hemispheres #83

Closed
HaikunXu opened this issue Mar 7, 2018 · 3 comments

Comments

@HaikunXu
Copy link

HaikunXu commented Mar 7, 2018

I use VAST to evaluate the spatiotemporal dynamics of yellowfin tuna in the Eastern Pacific Ocean. When fitting the data to VAST, the "Extrapolation_List" that is generated by Grid_Fn is problematic because it extrapolates the mesh grids solely based on the setting for the Northern hemisphere. I solved this issue by manually editing Grid_Fn to first separately extrapolate the mesh grids for the Northern and Southern hemisphere and then combine the two mesh fields as one that covers both hemispheres. Is it possible to allow VAST automatically detecting this issue and doing the extrapolation for those data which across the Equator?

@James-Thorson
Copy link
Collaborator

Could you try grid_in_UTM=FALSE in Prepare_Extrapolation_Grid_Fn...? I think this avoids any UTM conversion but I don't remember testing it at all...

@peterkuriyama
Copy link

peterkuriyama commented Mar 10, 2018

I'm working through the code using grid_in_UTM=FALSE in Prepare_Extrapolation_Grid_Fun. When grid_in_UTM = FALSE, the Extrapolation_List$zone = NA, which then causes errors in Convert_LL_to_EastNorth_Fn. Specifically in the CRS.new call of the Convert_LL_to_EastNorth_Fn.

Hard coding CRS.new <- CRS("+proj=utm +zone=13 +datum=WGS84") results in a plot like:
conversion_check

which I think looks good? I have pretty minimal GIS experience/intuition

@James-Thorson
Copy link
Collaborator

James-Thorson commented Mar 10, 2018 via email

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

No branches or pull requests

3 participants