[RegCNET] postproc problem
Travis O'Brien
tobrien at ucsc.edu
Mon Jul 7 16:31:20 CEST 2008
Hi,
There is a small bug in the postprocessor that has given me a similar
problem. I have attached a patch that may be able to fix it.
To apply the patch,
(1) download the e-mail attachment, postproc.f.patch, to the PostProc
directory
(2) Change to the PostProc directory, and back up the original
postproc.f (cp postproc.f postproc.f.backup)
(3) Patch postproc.f (patch postproc.f postproc.f.patch)
(4) Clean postproc (make clean)
(5) Re-run postproc.x as you did before
I hope that this works for you!
-Travis O'Brien-
--
Travis A. O'Brien
Graduate Student Researcher
Earth and Planetary Science Dept.
UC Santa Cruz
tobrien at ucsc.edu
(831) 459-3504
suxingtao at sina.com wrote:
> Hi RegCM user,
>
> There is a problem when I am running ./postproc.x. The message is as
> follows:
>
> [sxt at console test2005]$ ./postproc.x
>
> pgf90 -byteswapio -Ktrap=fp -o postproc postproc.o netcdf.o
> -L../Commons/env/liblinux -lnetcdf -I../Commons/env/include
>
> ENTER THE TYPE OF REGCM OUTPUT TO BE PROCESSED:
>
> ICBC (0=no; 1=yes)
>
> 0
>
> ATM (0=no; 1=yes)
>
> 1
>
> SRF (0=no; 1=yes)
>
> 0
>
> RAD (0=no; 1=yes)
>
> 0
>
> CHE (0=no; 1=yes)
>
> 0
>
> SUB (0=no; 1=yes)
>
> 0
>
> 1 6 000
>
> 1 7 000
>
> 1 8 000
>
> 1 9 000
>
> 1 10 000
>
> 1 11 000
>
> 1 12 000
>
> 1 13
>
> 1 14
>
> 1 15
>
> 1 16
>
> 1 17
>
> 1 18
>
> **************************************************
>
> IDATE0 = 2005030100 IDATE1 = 2005030100 IDATE2 = 2005040100
>
> **************************************************
>
> PROCESS ATMOS OUTPUT FROM MODEL
>
> AVERAGING ALL OUTPUT DATA
>
> **************************************************
>
> 2005030100 2005030100 2005040100
>
> OUTPUT AVERAGE FILE:
>
> ATM200503AVG.DAT
>
> mdate0,ibltyp,icup,imoist,iboudy,ni,nj,nk,ds=
>
> 2005022100 1 2 1 5 76
>
> 112 18 60000.00
>
> sigf=
>
> 0.000000 5.0000001E-02 0.1000000 0.1600000
>
> 0.2300000 0.3100000 0.3900000 0.4700000
>
> 0.5500000 0.6300000 0.7100000 0.7800000
>
> 0.8400000 0.8900000 0.9300000 0.9600000
>
> 0.9800000 0.9900000 1.000000
>
> pt,clat,clon,xplat,xplon,proj,dto,dtb,dtr,dtc=
>
> 5.000000 35.00000 105.0000 35.00000
>
> 105.0000 LAMCON 6.000000 3.000000 6.000000
>
> 6.000000
>
> Access type= 1
>
> INPUT (OUT) FILE:
>
> output/ATM.2005030100
>
> Reading output: 2005030106
>
> AVERAGING DATA: 2005030106 921846.0000000000 1
>
> Reading output: 2005030112
>
> AVERAGING DATA: 2005030112 921852.0000000000 2
>
> Reading output: 2005030118
>
> AVERAGING DATA: 2005030118 921858.0000000000 3
>
> Reading output: 2005030200
>
> AVERAGING DATA: 2005030200 921864.0000000000 4
>
> Reading output: 2005030206
>
> AVERAGING DATA: 2005030206 921870.0000000000 1
>
> Reading output: 2005030212
>
> AVERAGING DATA: 2005030212 921876.0000000000 2
>
> Reading output: 2005030218
>
> AVERAGING DATA: 2005030218 921882.0000000000 3
>
> Reading output: 2005030300
>
> AVERAGING DATA: 2005030300 921888.0000000000 4
>
> Reading output: 2005030306
>
> AVERAGING DATA: 2005030306 921894.0000000000 1
>
> Reading output: 2005030312
>
> AVERAGING DATA: 2005030312 921900.0000000000 2
>
> Reading output: 2005030318
>
> AVERAGING DATA: 2005030318 921906.0000000000 3
>
> Reading output: 2005030400
>
> AVERAGING DATA: 2005030400 921912.0000000000 4
>
> Reading output: 2005030406
>
> AVERAGING DATA: 2005030406 921918.0000000000 1
>
> Reading output: 2005030412
>
> AVERAGING DATA: 2005030412 921924.0000000000 2
>
> Reading output: 2005030418
>
> AVERAGING DATA: 2005030418 921930.0000000000 3
>
> Reading output: 2005030500
>
> AVERAGING DATA: 2005030500 921936.0000000000 4
>
> Reading output: 2005030506
>
> AVERAGING DATA: 2005030506 921942.0000000000 1
>
> Reading output: 2005030512
>
> AVERAGING DATA: 2005030512 921948.0000000000 2
>
> Reading output: 2005030518
>
> AVERAGING DATA: 2005030518 921954.0000000000 3
>
> Reading output: 2005030600
>
> AVERAGING DATA: 2005030600 921960.0000000000 4
>
> Reading output: 2005030606
>
> AVERAGING DATA: 2005030606 921966.0000000000 1
>
> Reading output: 2005030612
>
> AVERAGING DATA: 2005030612 921972.0000000000 2
>
> Reading output: 2005030618
>
> AVERAGING DATA: 2005030618 921978.0000000000 3
>
> Reading output: 2005030700
>
> AVERAGING DATA: 2005030700 921984.0000000000 4
>
> Reading output: 2005030706
>
> AVERAGING DATA: 2005030706 921990.0000000000 1
>
> Reading output: 2005030712
>
> AVERAGING DATA: 2005030712 921996.0000000000 2
>
> Reading output: 2005030718
>
> Segmentation fault
>
> The edited postproc.in is as follows:
>
> 2005030100, ! idate0 = First date in File (yymmddhh)
>
> 2005030100, ! idate1 = Start date for averaging and re-writing
>
> 2005040100, ! idate2 = End date for averaging and re-writing
>
> 3, ! iotype: 1=I*2 NetCDF; 2=r*4 NetCDF; 3=grads; 4=vis5d
>
> .false., ! plv
>
> .false., !
>
> .false., ! Write out header?
>
> .false., ! Write out all RegCM data b/twn idate1 & idate2?
>
> .true., ! Average RegCM data b/twn idate1 & idate2?
>
> .false., ! Diurnali avg of RegCM data b/twn idate1 & idate2?
>
> .false., ! Continually average ATM data b/twn idate1 & idate2?
>
> 1., ! No. Days for continual averaging (-1=monthly;1=daily;5=5day)
>
> '200503', ! postproc output filename (not including type & ext)
>
> '../Input', ! ICBC directory
>
> 'output', ! RegCM Output directory
>
> 'DOMAIN.INFO', ! Domain Info Filename (from terrain)
>
> 'OUT_HEAD', ! Header File name (from RegCM)
>
> '2005030100', ! 1st RegCM Output File Extension
>
> Where is the problem?
>
> Regards,
>
>
> Su
>
> ------------------------------------------------------------------------
>
> 08 °ñÑùÖÕ¼«PK£¬ÓëÌøÂíÍõÂ¥ÔÆÒ»ÆðÐж¯
> <http://d1.sina.com.cn/sina/limeng3/mail_zhuiyu/2008/mail_zhuiyu_20080707.html>
>
> ×¢²áÐÂÀË2GÃâ·ÑÓÊÏä <http://mail.sina.com.cn/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> RegCNET mailing list
> RegCNET at lists.ictp.it
> https://lists.ictp.it/mailman/listinfo/regcnet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postproc.f.patch
Type: text/x-diff
Size: 691 bytes
Desc: not available
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20080707/f80f85b8/attachment-0002.bin>
More information about the RegCNET
mailing list