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

Kriging Interpolation #1

Open
13 tasks done
laflamev opened this issue Sep 20, 2023 · 0 comments
Open
13 tasks done

Kriging Interpolation #1

laflamev opened this issue Sep 20, 2023 · 0 comments

Comments

@laflamev
Copy link
Collaborator

laflamev commented Sep 20, 2023

Tasks

Geostatistical Analysis:

Implement Kriging interpolation to estimate climate values at unobserved locations.

  • Select Suitable Library: Choose a geostatistical library (e.g., scipy, PyKrige) for Kriging interpolation.
  • Load and Prepare Data: Load the climate dataset containing observed values of precipitation, temperature, latitude, and longitude.
  • Spatial Data Exploration: Visualize the spatial distribution of observed data points on a map to understand their geographic spread.
  • Interpolation Setup: Define the variogram model (e.g., spherical, exponential) and other parameters necessary for Kriging interpolation.
  • Split Data: Divide the dataset into training and testing sets, reserving a portion for model validation.
  • Perform Kriging: Apply the chosen library's Kriging function to estimate climate values at unobserved locations based on the observed data.

Model Validation:

Evaluate the accuracy and performance of the Kriging model.

  • Cross-Validation: Implement cross-validation by comparing the Kriged values to the observed values in the testing set.
  • Calculate Prediction Errors: Compute error metrics (e.g., Root Mean Squared Error, Mean Absolute Error) to quantify the accuracy of the Kriging predictions.
  • Generate Validation Plots: Create visualizations (e.g., scatter plots, histograms) comparing predicted and observed values to assess model performance.

Generate Kriged Climate Surfaces:

Create continuous climate surfaces for precipitation and temperature across British Columbia.

  • Define Grid for Interpolation: Establish a spatial grid covering the entire British Columbia region to generate the continuous surfaces.
  • Apply Kriging to Grid: Utilize the trained Kriging model to estimate climate values at each point within the grid.
  • Create Visualizations: Generate maps displaying the Kriged climate surfaces for precipitation and temperature.
  • Export Results: Save the Kriged climate surfaces as spatial datasets (e.g., raster files) for further analysis and visualization.

Resources

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

1 participant