MAURICE Jean - externe
2016-Jun-02 10:41 UTC
[R] translating function td of package tempdisagg to FORTRAN
I am (still) translating long R scripts to FORTRAN to improve speed. My client deals with river's flow. He has datas for each day of a week, we need to 'disaggregate' them to an hourly base (is that clear ?) . In R, he uses function td of library tempdisagg with the 'denton-cholette' algorithm. I would like to translate this function in FORTRAN. I searched for denton-cholette on internet but only found 'mathematical answers' I am not able to understand. I would like to have some informations about this function : Is it only a 'wrapper' to a C or Fortran library or is it a true R function ? Is the source (R, Fortran, C, ...) available somewhere ? Thanks in advance for all information you can give me ! Jean in France PS please can you send a copy of your response directly to my address 'jean-externe.maurice at edf.fr' -------------- next part -------------- Ce message et toutes les pi?ces jointes (ci-apr?s le 'Message') sont ?tablis ? l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme ? sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse. Si vous n'?tes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez re?u ce Message par erreur, merci de le supprimer de votre syst?me, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions ?galement d'en avertir imm?diatement l'exp?diteur par retour du message. Il est impossible de garantir que les communications par messagerie ?lectronique arrivent en temps utile, sont s?curis?es ou d?nu?es de toute erreur ou virus. ____________________________________________________ This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message. E-mail communication cannot be guaranteed to be timely secure, error or virus-free.
Berend Hasselman
2016-Jun-02 10:55 UTC
[R] translating function td of package tempdisagg to FORTRAN
> On 2 Jun 2016, at 12:41, MAURICE Jean - externe <jean-externe.maurice at edf.fr> wrote: > > I am (still) translating long R scripts to FORTRAN to improve speed. My client deals with river's flow. > > He has datas for each day of a week, we need to 'disaggregate' them to an hourly base (is that clear ?) . In R, he uses function td of library tempdisagg with the 'denton-cholette' algorithm. I would like to translate this function in FORTRAN. > > I searched for denton-cholette on internet but only found 'mathematical answers' I am not able to understand. > > I would like to have some informations about this function : > Is it only a 'wrapper' to a C or Fortran library or is it a true R function ? > Is the source (R, Fortran, C, ...) available somewhere ? >It is R. Source of the tempdisagg package can be found on CRAN: https://cran.r-project.org Follow the link "Packages" and then "Table of available packages, sorted by name". Direct address for tempdisagg: https://cran.r-project.org/web/packages/tempdisagg/index.html The source for the full package will be in the .tar.gz file. Berend Hasselman> Thanks in advance for all information you can give me ! > Jean in France > > PS please can you send a copy of your response directly to my address 'jean-externe.maurice at edf.fr' >Done automatically if one uses Reply to All?
MAURICE Jean - externe
2016-Jun-02 11:21 UTC
[R] translating function td of package tempdisagg to FORTRAN
Ouaouh ! Thanks a lot Jean -------------- next part -------------- Ce message et toutes les pi?ces jointes (ci-apr?s le 'Message') sont ?tablis ? l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme ? sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse. Si vous n'?tes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez re?u ce Message par erreur, merci de le supprimer de votre syst?me, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions ?galement d'en avertir imm?diatement l'exp?diteur par retour du message. Il est impossible de garantir que les communications par messagerie ?lectronique arrivent en temps utile, sont s?curis?es ou d?nu?es de toute erreur ou virus. ____________________________________________________ This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message. E-mail communication cannot be guaranteed to be timely secure, error or virus-free.