Thanks Miguel. We have implemented a workaround to ensure that our input forecast and obs files never start at the same timestep, so on the face of it we may not need to use the patch yet. We will monitor it though and use the patch if we need to.
Thanks very much for your help.. Regards Iain -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: November 16, 2007 6:02 AM To: [email protected] Subject: METRo-developers Digest, Vol 8, Issue 10 Send METRo-developers mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://mail.gna.org/listinfo/metro-developers or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of METRo-developers digest..." Today's Topics: 1. Re: METRo crashes when obs and forecast start times are the same (Miguel Tremblay) 2. Re: METRo crashes when obs and forecast start time are the same (Iain Russell) ---------------------------------------------------------------------- Message: 1 Date: Thu, 15 Nov 2007 21:06:05 +0000 From: Miguel Tremblay <[EMAIL PROTECTED]> Subject: Re: [Metro-developers] METRo crashes when obs and forecast start times are the same To: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=UTF-8; format=flowed Iain Russell wrote: > Hi Julie > > Thanks for sending along this information. I have read the information > on coupling and it seems that at least 3 hrs of observation/forecast > data overlap is required in order for METRo to produce good forecasts in > the first few hours. We are in fact attempting to provide 8 hours of > overlap, but sometimes as I said in my original post this can result in > the first timesteps in the forecast and observations files being the > same. When this happens the model crashes. > > Hi Iain, You were absolutly right. METRo did have a bug when the observation and the forecast time were the same. I did a bug report. You can see all the details here: https://gna.org/bugs/index.php?10335 I did a fix in the code. You can see the difference between the 2 versions of the corrected file: http://svn.gna.org/viewcvs/metro/metro/trunk/src/frontend/executable_mod ule/metro_preprocess_qa_qc_observation.py?rev=157&r1=98&r2=157 If you want to patch it right now, you can download the revision tagged 157 of this file and replace the one you are currently using (metro_preprocess_qa_qc_observation): http://svn.gna.org/viewcvs/*checkout*/metro/metro/trunk/src/frontend/exe cutable_module/metro_preprocess_qa_qc_observation.py?rev=157 Patch will be included in version 3.1.1 Tell me if it works. Regards, Miguel -- Miguel Tremblay Physicien - Physicist Centre m?t?orologique canadien - Canadian meteorological centre (CMC) Environnement Canada - Environment Canada http://www.ec.gc.ca/ 2121 Trans-Canada N. Suite 228 T?l?phone/Phone: 514-421-4729 Dorval, Qu?bec Fax: 514-421-4679 CANADA H9P 1J3 courriel/email: [EMAIL PROTECTED] ------------------------------ Message: 2 Date: Thu, 15 Nov 2007 20:13:12 -0500 From: "Iain Russell" <[EMAIL PROTECTED]> Subject: Re: [Metro-developers] METRo crashes when obs and forecast start time are the same To: "Julie Prestopnik" <[EMAIL PROTECTED]> Cc: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Thanks Julie. It's good that you also reproduced the problem; hopefully someone will be able to propose a fix for what seems to be a bug in the METRo software. Regards Iain -----Original Message----- From: Julie Prestopnik [mailto:[EMAIL PROTECTED] Sent: Wed 11/14/2007 6:18 PM To: Iain Russell Cc: [email protected] Subject: Re: [Metro-developers] METRo crashes when obs and forecast start time are the same Hi Iain. I ran your code through METRo versions 3.0.0 and 3.1.0. Both times I got a segmentation fault. I've attached the log file from the version 3.0.0 run, but when I ran it through 3.1.0 giving it the option: --log-file log_metro-3.1.0 I only received an empty log file, so I copied the output from the screen into the log file and attached it here. I didn't have too much time to look into it, but I was able to use the debugger to find out where it was crashing: In metro_model.py in this call (lines 299-306): macadam.Do_Metro(bFlat,\ fLat, fLon, \ lLayerThick, nNbrOfLayer, lLayerType, \ lAT, lQP, lWS, lAP, lSF, lIR, lFT, lPI, lSC,\ lAT_obs,lST_obs, lSST_obs, \ lAH, lTime_obs, lSWO, bNoObs,\ fDeltaTMetroObservation, nLenObservation, \ nNbrTimeSteps, bSilent) Here's the output from the pdb debugger just before the seg fault: > metro_model.py(306)__send_data_to_metro_core() -> nNbrTimeSteps, bSilent) (Pdb) DEBUT SETCONSTPHYS FIN SETCONSTPHYS GRILLE ROUTINE START GRILLE ROUTINE ENDED Complete observations DEBUT MAKTIP FIN MAKTIP DEBUT INITIAL FIN INITIAL DEBUT COUPLA FIN COUPLA coupla 2 DEBUT BALANC FIN BALANC Free memory Segmentation fault I hope this helps! Julie Iain Russell wrote: > Hi Miguel > > Please see attached input xml files and txt file which contains the > command to run METRo... > > Regards > Iain > > > ------------------------------ > > Message: 2 > Date: Tue, 13 Nov 2007 14:40:53 +0000 > From: Miguel Tremblay <[EMAIL PROTECTED]> > Subject: Re: [Metro-developers] METRo crashes when obs and forecast > start times are the same > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii; format=flowed > > Hi Iain, > > Please give us the input files you used as well as the command line and > the error message. I will look at it and answer your question. > > Thank you Julie for the answer regarding Iain's questions. > > > Miguel > > > > ------------------------------------------------------------------------ > > _______________________________________________ > METRo-developers mailing list > [email protected] > https://mail.gna.org/listinfo/metro-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: /public/metro-developers/attachments/20071115/353562cc/attachment.htm ------------------------------ _______________________________________________ METRo-developers mailing list [email protected] https://mail.gna.org/listinfo/metro-developers End of METRo-developers Digest, Vol 8, Issue 10 *********************************************** _______________________________________________ METRo-developers mailing list [email protected] https://mail.gna.org/listinfo/metro-developers
