Loading and Saving Land-Sea Mask Datasets
The Land-Sea Dataset can be obtained using the function getLandSea(). See end of the page for the API
Setup
using ERA5Reanalysis
using DelimitedFiles
using CairoMakie
download("https://raw.githubusercontent.com/natgeo-wong/GeoPlottingData/main/coastline_resl.txt","coast.cst")
coast = readdlm("coast.cst",comments=true)
clon = coast[:,1]
clat = coast[:,2]
nothingRetrieving IMERG and TRMM Land-Sea Mask over Java
First, we must define the ERA5 datasets, and the GeoRegion of interest.
e5ds = ERA5Dummy()
geo = RectRegion("JAV","GLB","Java",[-5.5,-9,115,105],save=false)
egeo = ERA5Region(geo)Then, we retrieve the ERA5 Reanalysis LandSea Dataset <!– ````@example landseamask
lsd = getLandSea(e5ds,egeo)
```` –>
And we plot them below for comparison: