- Notifications
You must be signed in to change notification settings - Fork3
MODIS/VIIRS Sinusoidal Land Tile Utilities for Julia
License
STARS-Data-Fusion/Modland.jl
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
MODIS/VIIRS Sinusoidal Land Tile Utilities for Julia
Gregory H. Halverson (they/them)
gregory.h.halverson@jpl.nasa.gov
Lead developer and designer
NASA Jet Propulsion Laboratory
This Julia module provides functions for converting geographic latitude and longitude coordinates to sinusoidal projection coordinates and mapping those to MODIS land tile indices.
Ensure that you have the required dependencies installed before using this module. You may need to install libraries such asArchGDAL.jl for coordinate transformations.
Converts latitude and longitude coordinates to sinusoidal projection coordinates.
latlon_to_sinusoidal(lat::Float64, lon::Float64)::Tuple{Float64, Float64}
lat::Float64: Latitude in degrees (-90 to 90).lon::Float64: Longitude in degrees (-180 to 180).
Tuple{Float64, Float64}: Sinusoidal projection coordinates(x, y).
x, y=latlon_to_sinusoidal(34.0,-118.0)println("Sinusoidal Coordinates: ($x,$y)")
- Raises an error if latitude is out of range (-90 to 90).
- Raises an error if longitude is out of range (-180 to 180).
Converts sinusoidal projection coordinates to MODIS land tile indices.
sinusoidal_to_modland(x::Float64, y::Float64)::String
x::Float64: Sinusoidal x coordinate.y::Float64: Sinusoidal y coordinate.
String: MODIS land tile index formatted ashXXvYY.
tile_index=sinusoidal_to_modland(x, y)println("MODIS Tile Index:$tile_index")
- Raises an error if
xis outside the valid bounds. - Raises an error if
yis outside the valid bounds.
About
MODIS/VIIRS Sinusoidal Land Tile Utilities for Julia
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.