PRECIS support forum

It is currently Thu Mar 28, 2024 8:42 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: ppregrid
PostPosted: Mon Jul 20, 2015 2:31 pm 
Offline

Joined: Fri May 15, 2015 12:35 pm
Posts: 24
Hi

I think I got similar problem like in post viewtopic.php?f=1&t=21
I've tried to follow:

Code:
cd $HOME
mkdir SMC_regrid
cd $ARCHIVEDIR/cubag/08208        # or wherever you have put the rim removed data
ppregrid -d 0.44,0.44 -e $HOME/SMC_regrid *.rr8.pp


but I got error message

--------------------------------------------------------------------------------
PRECIS version 2.0.0

RUNNING SCRIPT WITH ARGUMENTS:

/home/mtb/um/vn4.5/utils/ppregrid -d 0.44,0.44 -e /home/mtb/SMC_regrid mtbaaa.pah9may.03236.pp

Mon Jul 20 14:47:57 BST 2015
--------------------------------------------------------------------------------
List of input PP files: /home/mtb/precis_expt/tmp/ppregrid.pp_in.11434
List of output PP files: /home/mtb/precis_expt/tmp/ppregrid.pp_out.11434

Target grid is limited area
Creating target grid PP file: /home/mtb/SMC_regrid/ppregrid.lam.pp
--------------------------------------------------------------------------------
Fortran command:
/home/mtb/um/vn4.5/exec/fppregrid.exe >>/home/mtb/SMC_regrid/ppregrid.out.11434 2>&1
Fortran output starts here:
Open namelist file:
Open: File /home/mtb/precis_expt/tmp/ppregrid.namelist.11434 on Unit 4

Found namelist : INPUTS

INPUTS namelist variables have been set up as as follows:
&INPUTS
N_FILES_IN = 1,
N_FILES_OUT = 1,
N_COAST = 1,
MASK_MD = F,
MASK_VD = F,
L_NEAREST_NEIGHBOUR = F,
L_VARY_GRID = T,
L_VARY_MD = T,
L_BS = F
/

Not found namelist: HEADERCRITERIA

Functionality:
--------------
Minimum number of valid source grid points per target grid point: 1
Regridding method: Weighted bi-linear interpolation

Opening files:
--------------
Open list of input PP file names:
Open: File /home/mtb/precis_expt/tmp/ppregrid.pp_in.11434 on Unit 8
Open list of output PP file names:
Open: File /home/mtb/precis_expt/tmp/ppregrid.pp_out.11434 on Unit 9
Output PP files:
OPEN: File /home/mtb/SMC_regrid/mtbaaa.pah9may.03236.reg.pp to be Opened on Unit 20 does not Exist
OPEN: File /home/mtb/SMC_regrid/mtbaaa.pah9may.03236.reg.pp Created on Unit 20
OPEN: File /home/mtb/SMC_regrid/ppregrid.npt.pp to be Opened on Unit 61 does not Exist
OPEN: File /home/mtb/SMC_regrid/ppregrid.npt.pp Created on Unit 61
Reference PP file containing target grid:
OPEN: File /home/mtb/SMC_regrid/ppregrid.lam.pp to be Opened on Unit 11 Exists

TARGET GRID:
-------------------------------------------------------------------------------------------------------------------------
Start/Valid End/Data
Y M D h m Y M D h m STASH PROC EXPT NCOL NROW LBLEV BZX BZY BDX BDY BPLAT BPLON Position
000000000000 000000000000 0 0 aaaaa 115 56 0 -26.840 65.800 0.440 -0.440 90.000 0.000 1
-------------------------------------------------------------------------------------------------------------------------

extra data(x co) has not been alloc
SOURCE GRIDS:

OPEN: File /home/mtb/archive/mtbaa/regrid/03236/mtbaaa.pah9may.03236.pp to be Opened on Unit 10 Exists
-------------------------------------------------------------------------------------------------------------------------
Start/Valid End/Data
Y M D h m Y M D h m STASH PROC EXPT NCOL NROW LBLEV BZX BZY BDX BDY BPLAT BPLON Position
197905010000 197905020000 3236 128 mtbaa 100 100 9999 349.440 9.020 0.220 -0.220 34.130 177.510 1
ERROR: |dx| of source grid is <= 2*|dx| of target grid
ERROR: Field 1 in file /home/mtb/archive/mtbaa/regrid/03236/mtbaaa.pah9may.03236.pp
dx of source grid = 0.2200000
dx of target grid = 0.4400000

ERROR detected in subroutine PPREGRID
icode = 4
ABORT called
forrtl: error (76): Abort trap signal
Image PC Routine Line Source
Unknown F77CC440 Unknown Unknown Unknown
fppregrid.exe 08064C8A Unknown Unknown Unknown
fppregrid.exe 0804A601 Unknown Unknown Unknown
fppregrid.exe 080482B1 Unknown Unknown Unknown
fppregrid.exe 080FA08E Unknown Unknown Unknown
Aborted (core dumped)

Failed in Fortran

If you could help me with that I would be grateful

best Maciej


Top
 Profile  
 
 Post subject: Re: ppregrid
PostPosted: Thu Jul 23, 2015 3:28 pm 
Offline

Joined: Thu Mar 27, 2014 5:03 pm
Posts: 73
Dear Maciej,

From the ppregrid help pages:
Quote:
For all transformations, the resolution of the target grid must not exceed twice that of the source grid in either longitudinal or latitudinal directions


The restriction is in place as bilinear interpolation (the method used in ppregrid) is not an appropriate method in this situation. I suggest using the ppaggregate command instead.

All the best,
Simon

_________________
Simon Tucker
Met Office Hadley Centre


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 60 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group