oscarperpinan / meteoForecast

A package to access outputs from Numerical Weather Prediction models both in raster format and as a time series for a location
GNU General Public License v3.0
51 stars 25 forks source link

Select spatial resolution #6

Closed rbessa closed 10 years ago

rbessa commented 10 years ago

Oscar, mu suggestion is to add an argument related with the spatial resulotion to functions getPoint, getPointDays, getPointRuns.

In the case of MeteoGalicia we can choose between 36, 12 and 4 km data.

oscarperpinan commented 10 years ago

Hi Ricardo,

I have added this argument to the function getRaster in this commit. Now I will do the same for the getPoint*functions.

Oscar.

hzambran commented 10 years ago

Buena mejora !

On 13 September 2014 06:50, Oscar Perpiñán Lamigueiro < notifications@github.com> wrote:

Hi Ricardo,

I have added this argument to the function getRaster in this commit http://21a058e45f8751a0267534668c3987023e3e0298. Now I will do the same for the getPoint*functions.

Oscar.

— Reply to this email directly or view it on GitHub https://github.com/oscarperpinan/meteoForecast/issues/6#issuecomment-55487067 .

Assistant Professor Faculty of Environmental Sciences and

EULA-Chile Centre, University of Concepcion, Chile

"A strong man and a waterfall always

channel their own path" (Unknown)"

Linux user #454569 -- Linux Mint user

oscarperpinan commented 10 years ago

Done. Please check it. Comments are welcome.

rbessa commented 10 years ago

I cannot open the help file of the getPoint function to see how the resolution parameter can be defined. I get "Error in fetch(key) : lazy-load database '�' is corrupt". Neverthless, I think that this covers my comments, now it is possible to select different spatial resolution which is an excellent add-on to this package.

oscarperpinan commented 10 years ago

I cannot reproduce that error in any of my computers. Are you using RStudio? I have found some examples of this same error that seem to be related with this IDE. For example: https://support.rstudio.com/hc/communities/public/questions/200477576-Strange-interaction-between-devtools-and-my-own-package

rbessa commented 10 years ago

You are right. The problem was RStudio. This modification works very fine!

Thanks Oscar.