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

calib_cws() #6

Closed
eva0marques opened this issue Apr 18, 2024 · 1 comment
Closed

calib_cws() #6

eva0marques opened this issue Apr 18, 2024 · 1 comment

Comments

@eva0marques
Copy link
Collaborator

eva0marques commented Apr 18, 2024

Create a function calib_cws(x, ref) to remove systematic bias in the cws dataset.
Default ref = output from download_ghcnh() but users will be able to add its own network.
Note: systematic bias varies across the hours of the day, and also across the seasons. So it might be relevant to create a moving average to remove it.

@eva0marques eva0marques changed the title calibration() calib_cws() Apr 18, 2024
@eva0marques
Copy link
Collaborator Author

eva0marques commented Apr 22, 2024

  1. Select all observations in x at less than x meters from a ref station (param option: distance x in meters)
  2. Measure the anomaly in temperature for these observations in regard to the ref
  3. Compute the average bias (param option: per hour of the day)
  4. Remove this bias to all the observations
  5. Return obs corrected and the average bias.

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