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

LDAS support for xindex/yindex for greater number of grids - or remove because confusing #7

Open
timcera opened this issue Mar 10, 2020 · 2 comments

Comments

@timcera
Copy link
Owner

timcera commented Mar 10, 2020

The xindex/yindex options in ldas have always been problematic. The xindex/yindex in the NLDAS shapefile actually have to have 1 subtracted to be used with the LDAS web services. Haven't found GLDAS shapefile. Maybe just remove so there is no confusion?

@mishranurag
Copy link

I used the ascii file (landmask_mod44w_025.asc) to get the latitude and longitude from xindex and yindex. It could be done to do reverse search as well. Then may be user should enter latitude and longitude and not bother about index.

In the past I downloaded this file from the LDAS website and it is 25MB.

landmask_mod44w_025.asc.zip

@timcera
Copy link
Owner Author

timcera commented Mar 10, 2020

The web services automatically will find the correct grid cell if given lat/lon. Plus, at least for the NLDAS shapefile, the web services start counting at 0 while the shapefile xindex/yindex start counting at 1.

It is good to have the land mask as reference. Wish that it wasn't so big because it might be nice to report back to the user an error if trying to download data from a water cell.

timcera added a commit that referenced this issue Jun 10, 2022
Move dictionary inserts to its definition
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

2 participants