Comments (9)
In this case, we would need a function to ID the correct basin and then use that to select correct landmask from basin-specific ones.
from stormwindmodel.
It looks like this is in Liz's PR (~ 14 MB for landmask file).
We also have a landmask for part of the NW Pacific basin (in the file named "landmask_0p2deg_15to55N_70to140E.csv"). This file is around 900 KB.
landmask_nwpacific <- read_csv("data-raw/landmask_0p2deg_15to55N_70to140E.csv",
col_names = c("lon", "lat", "land")) %>%
mutate(land = as.factor(land),
land = fct_recode(land, land = "1", water = "0"),
land = fct_relevel(land, "land"))
ggplot(data = landmask_nwpacific , aes(x = lon, y = lat, color = land)) +
geom_point()
from stormwindmodel.
Here's the new landmask from Liz's PR:
load("data/landmask.rda")
ggplot(data = landmask, aes(x = longitude, y = latitude, color = land)) +
geom_point() +
geom_vline(aes(xintercept = 360)) +
coord_map() +
scale_color_manual(values = c("green", "blue"))
Here it is zoomed in for North America:
ggplot(data = landmask, aes(x = longitude, y = latitude, color = land)) +
geom_point() +
geom_vline(aes(xintercept = 360)) +
coord_map() +
scale_color_manual(values = c("green", "blue")) +
xlim(c(260, 300)) +
ylim(c(15, 50))
from stormwindmodel.
I don't think we have documentation on the source of the global landmask. Can try to get that from Liz.
from stormwindmodel.
We will need to update the documentation (in "R/data.R") if we use this landmask.
from stormwindmodel.
As a comparison, here's the North Atlantic landmask we currently have:
ggplot(data = landmask_nwpacific , aes(x = lon, y = lat, color = land)) +
geom_point()
from stormwindmodel.
For global landmask, maybe change so 0/360 is prime meridian and then western Europe in low range? (currently continues past 360 moving past Europe, up to 540 in Pacific)
from stormwindmodel.
Illustration of previous comment:
from stormwindmodel.
Here are the lat/lon conventions for IBTrACS:
from stormwindmodel.
Related Issues (20)
- Consider separating main output and summarizing functions HOT 1
- Add testing suite
- Clarify in documentation that all inputs (grid points, storm tracks) should be in degrees East HOT 2
- Account for different wind averaging periods for different basins HOT 1
- Speed up the check_over_land function HOT 1
- Use absolute latitude, rather than latitude, for will7a, will10a, will10b, and will10c HOT 1
- Adapt wind direction and inflow for Northern vs Southern hemisphere HOT 1
- Clarify in documentation that storm track input should use USA winds HOT 1
- Check if there are any interpolation issues when crossing international date line HOT 1
- How to use surface roughness length and LULC to generate windfield footprints
- interpolate_line() crashes R HOT 2
- Check on correct earth radius to use in distance calculations
- Explain polar versus geographic coordinates in documentation HOT 1
- Details Vignette Format
- Check that conversions between polar coordinates and geographic bearing work in North and South hemispheres
- Change all the functions that use `calc_grid_winds2`, now that it returns a list
- Create function to plot wind field of the storm at specific times along the storm's track HOT 6
- Change mapping functions to use simple features (`sf` package) HOT 2
- Make vignettes file small enough for CRAN
- Use of deprecated functionality in dplyr package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stormwindmodel.