Skip to content

An interactive map representing the sea surface temperature of 2005-2015

License

Notifications You must be signed in to change notification settings

jothirnadh/sea_surface_temperature_10years

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sea_surface_temperature_10years

An interactive map representing the sea surface temperature of 2005-2015

Approach:

  • Downloading data from NOAA for 10 years i.e., 2005-2015

  • Setting up all libraries and utilities

  • Clipping the downloaded tiff files to responsible latitudes and longitudes

    parallel rio clip {} clip/{/} --bounds -180.0 -70.0 180.0 70.0 ::: global/*.tif

  • Changing the projection to web mercator projection

    parallel gdalwarp {} mercator/{/} -t_srs EPSG:3857 -co COMPRESS=DEFLATE -r bilinear -ts 2048 1138 ::: clip/*.tif

  • Selected the following colour composite for the visualization

#f5f5f5,#E59D73,#0089BA,#007270,#EE0000,#0D8977,#2F9F78,#54B575,#7DCA6E,#ABDD65,#DEEE5F

The above color composite is applied in the pre-exising code lil code and save it as a text file (python make_color.py > color_ramp.txt).

  • Colorize the tiff files

    parallel gdaldem color-relief {} color-ramp.txt color/{/} ::: mercator/*.tif

  • Converting tiff to png

    parallel rio convert {} pngs/{/.}.png --format PNG ::: color/*.tif

  • Animate png files using ffmpeg library

  • Providing Interactivity to map using mapbox GL JS following this script

Outcome:

ezgif com-optimize

About

An interactive map representing the sea surface temperature of 2005-2015

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published