天道酬勤,学无止境

tps

如何在 R 中产生网格输出并消除不在陆地上的网格方块?(How to produce gridded output in R and eliminate grid squares that are not over land?)

问题 我正在尝试使用薄板样条算法生成英国的网格降雨数据,并消除 R 中未覆盖的值 - 这个过程我目前只能手动实现。 这个问题(对我来说)很有挑战性,甚至很难解释——所以我将逐步完成我迄今为止所做的。 任何帮助将受到极大欢迎。 首先,我将一个数据表加载到 R 中,该表表示来自多个点位置气象站的单日降雨量,数据表的每一行包含日期、站的 id、站的东距和北距、该地点的日降雨量和当年的平均降雨量。 我还加载了库字段、maptools 和 gstat。 library(fields) library(maptools) library(gstat) dat <- read.table("1961month1day1.csv", header=T, sep=",", quote = "") names(dat) <- c("easting", "northing", "dailyrainfall","avaerageyearlyrainfall") 以下是数据示例: dput(head(dat, 20)) structure(list(easting = c(130000L, 145000L, 155000L, 170000L, 180000L, 180000L, 180000L, 180000L, 185000L, 200000L, 200000L, 205000L, 210000L

2021-10-21 09:47:10    分类:技术分享    r   plot   tps

How to produce gridded output in R and eliminate grid squares that are not over land?

I am trying to produce gridded rainfall data over the UK by using a Thin Plate Spline algorithm and eliminate values that are not over land in R - a process I can only achieve so far manually. The problem is challenging (for me) and even challenging to explain - so I will step through what I have done so far. Any help will be greatly welcome. First, I load a data table into R that represents rainfall on a single day from a number of point location weather stations, and each row of the data table contains the date, id of the station, the easting and northing of the station, the daily rainfall

2021-10-20 12:59:32    分类:问答    r   plot   tps

Convert from tps to csv

I am writing a program based on an SQL database to take the base of a Clarion 16 bit program which is soon to be non functional. However, I need to get their old records and the program does not offer much as far as export, and TopScan is like 600 dollars for a year. Is there any way for me to convert the .tps files they have to .csv? Before you start spitting out ideas here's what I've tried: Data Management Center (only lets me do the first 20 and also like 600 dollars) tpsUtil (returns database must start with lm= however I can't modify database) DBFView (lied, can't handle TPS files)

2021-08-12 04:50:21    分类:问答    mysql   csv   clarion   tps