[RegCNET] problem with ICBC

XUNQIANG BI bixq at ictp.it
Fri May 9 15:55:22 CEST 2008


Hi, Carolina:

If your SST files (sst.wkmean.1990-present.nc for OI_WK and
sst.mnmean.nc for OISST) are all the latest one, and you need
update your SST_1DEG.f and ICBC.f file (or edit in the codes)
to fix the problem you met by using weekly OISST.

Very Easy !!!
1st step:
% grep WKDAY ICBC.f SST_1DEG.f

You might find

       COMMON /DATEWK/ WKDAY(427+910)

Note the above 910 is the record number (number of week) in the
SST file   sst.wkmean.1990-present.nc

Then you use the ncdump to see the number of record in
your latest sst.wkmean.1990-present.nc file,

% ncdump -h sst.wkmean.1990-present.nc

......
         time = UNLIMITED ; // (957 currently)
......

If you download today, you will get 957.

Then you edit the code and replace the 910 to 957. There are several
places need to be replaced.

The above 910 is just an example number. In fact, if you download
the latest web version of ICTP RegCM3, you'll find the number is 962,
which corresponds to the last week of year 2008 (since 1990).

Of course, usually, it's not wrong to set to a big number intentionally.

Let's make the summary for the way to solve your problem:
1) download the latest SST data;
2) update (or edit) SST_1DEG.f and ICBC.f

Good luck !
Xunqiang Bi

On Fri, 9 May 2008, Rauscher Sara A wrote:

> Hi Carolina,
> What SST option are you using? Are you sure the SST data go all the way
> to 200706?
> sara
>
> Carolina Cavazos-Guerra wrote:
>> Dear Regcm users:
>>
>> Does anyone can help me with the next problem when running icbc.x?
>>
>> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>>
>> $ ./icbc.x
>> rm -f *.o SST SST_FVGCM SST_EH5OM AEROSOL ICBC
>> ifort -tpp7 -O3 -cm -w -w90 -w95 -convert big_endian -c  SST_1DEG.f
>> ifort -tpp7 -O3 -cm -w -w90 -w95 -convert big_endian -o SST SST_1DEG.o
>> -L../../Commons/env/liblinux/ -lnetcdf -Vaxlib
>>   2007061600  2007063000    20070107           0       -1315
>> 99999
>> ifort -tpp7 -O3 -cm -w -w90 -w95 -convert big_endian -c  ICBC.f
>> ifort -tpp7 -O3 -cm -w -w90 -w95 -convert big_endian -o ICBC ICBC.o
>> -L../../Commons/env/liblinux/ -lnetcdf -Vaxlib
>>  NREC =       289276
>>  NSTART,NNNEND:        86865       86921
>>  IDATE1,IDATE2:   2007061600  2007063000
>>            6 ../DATA/NNRP2/2007/air.2007.nc       9.999999776482582E-003
>>    477.660003662109
>>            7 ../DATA/NNRP2/2007/hgt.2007.nc        1.00000000000000
>>    32066.0000000000
>>            8 ../DATA/NNRP2/2007/rhum.2007.nc      9.999999776482582E-003
>>    302.660003662109
>>            9 ../DATA/NNRP2/2007/uwnd.2007.nc      9.999999776482582E-003
>>    202.660003662109
>>           10 ../DATA/NNRP2/2007/vwnd.2007.nc      9.999999776482582E-003
>>    202.660003662109
>>  READ IN fields at DATE:  2007061600
>>  SST file is not the right one
>> 12
>>
>> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>>
>> This is not the first time I'm using RegCM, I have done simulations for
>> 2005 and 2006 in the past with no problems. Now, I'm just setting up the
>> dates for 2007, I downloaded the respective datasets for boundary
>> conditions, I always have used NCEP. Apparently I got the correct files
>> for the SST folder:
>>
>> $ cd SST/
>> $ ls
>> [ccavazos at node07 SST]$ ls
>> *                    sst.19812005.mn.nc  sst.wkmean.1981-1989.nc
>> skt.sfc.reg.1959.nc  sst.mnmean.nc       sst.wkmean.1990-present.nc
>>
>> so I have no explanation about why is this happening. Any suggestions?
>>
>> Thanks in advance
>>
>> Carolina
>>
>>
>>
>>
>>> <((((>`..`..`...><((((>`..`..`...><((((>
>>>
>> Carolina Cavazos Guerra
>> Department of Geography
>> University College London
>> Pearsons Building, Gower Street
>> London. WC1E 6bt, UK
>>
>>
>> _______________________________________________
>> RegCNET mailing list
>> RegCNET at lists.ictp.it
>> https://lists.ictp.it/mailman/listinfo/regcnet
>>
>
> -- 
>
> Dr. Sara A. Rauscher
> Earth System Physics Section
> The Abdus Salam International Centre for Theoretical Physics
> Strada Costiera 11
> 34014 Trieste ITALY
> ph: +39 040 2240 225 fax: +39 040 2240 449
> email: srausche at ictp.it
>
>
> _______________________________________________
> RegCNET mailing list
> RegCNET at lists.ictp.it
> https://lists.ictp.it/mailman/listinfo/regcnet
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Dr. Xunqiang Bi         email:bixq at ictp.it
   Earth System Physics Group
   The Abdus Salam ICTP
   Strada Costiera, 11
   P.O. BOX 586, 34100 Trieste, ITALY
   Tel: +39-040-2240302  Fax: +39-040-2240449
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the RegCNET mailing list