Skip to content

startR doesn't find .KnowLonNames when chunking and regridding

Hi @aho,

As reported by @cdelgado, he had the following error when chunking and asking for regridding:

could not find function .KnownLonNames

I don't understand where this error comes from. This function is stored in Utils.R and used by CDORemmaper() and Start(). Both functions have a line:

known_lon_names <- .KnownLonNames()
known_lat_names <- .KnownLatNames()

I am going to substitute those lines by

known_lon_names <- startR:::.KnownLonNames()
known_lat_names <- startR:::.KnownLatNames()

to make it clear where to find the functions.

To check it, I will need to install a development version on the machines and run some tests. Let me know if you foresee any problem with this strategy.

@cdelgado, if you agree, I'll let you know when the new version is installed so, you can run the code again.

Cheers,

Núria