[RegCNET] Error in reading Soil Texture datasets

Dr. J. Venkata Ratnam jvratnam at cdac.in
Fri Dec 15 11:52:10 CET 2006


Hi

 If you are using ifort and a linux machine then set ibyte=1 then your
problem will be resolved.

Ratnam


On Fri, Dec 15, 2006, Dilip Ganguly <dganguly at prl.res.in> said:

> Dear Abdou,
> 
> Thank you very much for your response and willingness to help. I followed
> all the steps suggested by you. I removed all the links from the
> PreProc/Data/SURFACE/ directory and replaced them by the acual data file
> obtained by uncompressing the SOILCAT.TAR.gz file downloaded from ICTP
> website. Unfortunately the problem persists and I am getting the same
> error message given below:
> 
>  ***** Terrain resolution (min):    10.00000
>  after calling SETUP
>  after calling MAP PROJECTION
>  xminlat,xmaxlat,xminlon,xmaxlon,ntypec=      17.21     29.08     66.29
>  79.24        10
>  after calling MXMNLL
> forrtl: severe (36): attempt to access non-existent record, unit 45, file
> /home/dganguly/RegCM/PreProc/Terrain/../DATA/SURFACE/SOILCAT.10
> Image              PC        Routine            Line        Source
> terrain            080E3F04  Unknown               Unknown  Unknown
> terrain            080E39FC  Unknown               Unknown  Unknown
> terrain            080C1FB5  Unknown               Unknown  Unknown
> terrain            08094FE0  Unknown               Unknown  Unknown
> terrain            08095483  Unknown               Unknown  Unknown
> terrain            080A77B9  Unknown               Unknown  Unknown
> terrain            080A6763  Unknown               Unknown  Unknown
> terrain            08070BDC  Unknown               Unknown  Unknown
> terrain            0804D045  Unknown               Unknown  Unknown
> terrain            0804A5C8  Unknown               Unknown  Unknown
> Unknown            004E4DE6  Unknown               Unknown  Unknown
> terrain            0804A481  Unknown               Unknown  Unknown
> 
> I am sending my domain.param file if that can give some clue for the above
> error. You may try a test run using this domain.param and suggest a way to
> solve this problem. It appears to me that there is some problem with the
> files SOILCAT.10 or SOILCAT.30 obtained from SOILCAT.TAR.gz as I have
> tried for these two resolutions of the terrain.
> 
> Expecting your help.
> 
> Thanks
> 
> Dilip.
> 
> 
>> Dear Friend
>> I suggest to do the following:
>>
>> 1. execute the script ./home/dganguly/RegCM/PreProc/Terrain/datalinker*
>> 2. cd each directory in the Preproc/DATA and remove all links
>> 3. Copy your data (each type in its folder)
>> 4. Be sure that there is no dead link
>> 5. cd ../Terrain
>> 6. choose the proper Makefile
>> 7. Make
>> 8. ./terrain.x
>> 9. check the results...
>>
>> if you still fiend the problem, please send me the domain.param file you
>> are using to check your options with you....
>> All the best
>>
>>> Thanks Bi and Ashraf for your replies.
>>> However, I am still having the problem.
>>>
>>> As suggested by Bi I re-downloaded the soil texture data and
>>> uncompressed
>>> the file SOILCAT.TAR.gz which contained four files one of which was
>>> SOILCAT.10. I also gave proper link to these files in the executable
>>> file
>>> datalinker.x
>>>
>>> Now I am getting the following error message.
>>>
>>> **************************************************
>>>  FILE ALREADY EXISTS:  ../../Input/DOMAIN.CTL
>>>  Do you want to overwrite the existing file? [y/n/q]
>>> y
>>>  ***** Terrain resolution (min):    10.00000
>>>  after calling SETUP
>>>  after calling MAP PROJECTION
>>>  xminlat,xmaxlat,xminlon,xmaxlon,ntypec=      17.21     29.08     66.29
>>> 79.24        10
>>>  after calling MXMNLL
>>> forrtl: severe (36): attempt to access non-existent record, unit 45,
>>> file
>>> /home/dganguly/RegCM/PreProc/Terrain/../DATA/SURFACE/SOILCAT.10
>>> Image              PC        Routine            Line        Source
>>> terrain            080E3F04  Unknown               Unknown  Unknown
>>> terrain            080E39FC  Unknown               Unknown  Unknown
>>> terrain            080C1FB5  Unknown               Unknown  Unknown
>>> terrain            08094FE0  Unknown               Unknown  Unknown
>>> terrain            08095483  Unknown               Unknown  Unknown
>>> terrain            080A77B9  Unknown               Unknown  Unknown
>>> terrain            080A6763  Unknown               Unknown  Unknown
>>> terrain            08070BDC  Unknown               Unknown  Unknown
>>> terrain            0804D045  Unknown               Unknown  Unknown
>>> terrain            0804A5C8  Unknown               Unknown  Unknown
>>> Unknown            0014BDE6  Unknown               Unknown  Unknown
>>> terrain            0804A481  Unknown               Unknown  Unknown
>>>
>>> It seems there is some problem in reading this file.
>>>
>>> Could you understand the problem from the above error message. Please
>>> suggest any solution to this.
>>>
>>> Regards,
>>>
>>> Dilip.
>>>
>>> On Thu, 14 Dec 2006, XUNQIANG BI wrote:
>>>
>>>>
>>>> On Thu, 14 Dec 2006, Dilip Ganguly wrote:
>>>>
>>>> > Thanks Ashraf for your prompt reply.
>>>> >
>>>> > I have checked that I am having the file soilcat.10 in my data
>>>> directory.
>>>> > I have also checked the datalinker file and I do not see any problem
>>>> with
>>>> > that.
>>>> >
>>>> > I downloaded the file SOILCAT.TAR.gz from ICTP website which
>>>> contained
>>>> > four files viz. soilcat.05, soilcat.10, soilcat30 and soilcat.60
>>>>
>>>> I guess that you unziped the file under Windows XP. which caused the
>>>> filename
>>>> change.
>>>> >
>>>> > Only thing I noticed in the error message that the program terrain.f
>>>> is
>>>> > trying to look for the file SOILCAT.10 and not soilcat.10
>>>>
>>>> Just rename it as SOILCAT.10,
>>>>
>>>> Or you
>>>> gunzip SOILCAT.TAR.gz
>>>> tar xvf SOILCAT.TAR
>>>>
>>>> under LINUX.
>>>> >
>>>> > Do you think the problem could be due to case sensitivity ? If so
>>>> then
>>>> how
>>>> > to solve this or even otherwise.
>>>>
>>>> Yes, it's case sensitive.
>>>> >
>>>> > Expecting your help.
>>>> >
>>>> > Dilip.
>>>> >
>>>> >
>>>> > On Wed, 13 Dec 2006, Ashraf Zakey wrote:
>>>> >
>>>> >> Hi ,
>>>> >>    Check if you have SOILCAT.10 in your data. Also, see the
>>>> datalinker
>>>> >> in your data sub-director
>>>> >>
>>>> >> Ashraf
>>>> >>
>>>> >>
>>>> >> On Thu, 2006-12-14 at 15:07 +0530, Dilip Ganguly wrote:
>>>> >>> Hi all,
>>>> >>>
>>>> >>> I wanted to use RegCM3 for doing some dust experiments.
>>>> Unfortunately I am
>>>> >>> getting the following error message when I am running the
>>>> executable
>>>> file
>>>> >>> terrain.x .
>>>> >>> ***** Terrain resolution (min):    10.00000
>>>> >>>  after calling SETUP
>>>> >>>  after calling MAP PROJECTION
>>>> >>>  xminlat,xmaxlat,xminlon,xmaxlon,ntypec=      17.21     29.08
>>>> 66.29
>>>> >>> 79.24        10
>>>> >>>  after calling MXMNLL
>>>> >>> ERROR OPENING ../DATA/SURFACE/SOILCAT.10 FILE: FILE DOES NOT EXIST
>>>> >>> 4830 IN SUBROUTINE RDLDTR
>>>> >>>
>>>> >>> Although I have given proper link for the file named SOILCAT.10 in
>>>> the
>>>> >>> DATA/SURFACE/ directory, the error message says, 'FILE DOES NOT
>>>> EXIST'.
>>>> >>>
>>>> >>> I downloaded the SOILCAT.TAR file from the ICTP RegCM website. Is
>>>> there
>>>> >>> any problem with this file ?
>>>> >>>
>>>> >>> Can anyone explain why I am getting this problem and how to solve
>>>> it.
>>>> >>>
>>>> >>> Thanking you in advance.
>>>> >>>
>>>> >>> Dilip.
>>>> >>>
>>>> >>>      ---------------------------------------------------------------------
>>>> >>>         DILIP GANGULY
>>>> >>>         Postdoctoral Fellow
>>>> >>>         Space And Atmospheric Sciences Division
>>>> >>>         Physical Research Laboratory
>>>> >>>         Ahmedabad 380009
>>>> >>> 	Gujarat, India
>>>> >>>         Phone: +91 79 26314558 (Laboratory)
>>>> >>>                +91 79 26300505 (Hostel)
>>>> >>> 	Fax:   +91 79 26314659
>>>> >>> 	Alternate Email: ganguly.dilip at gmail.com
>>>> >>>             Visit me at   http://www.prl.res.in/~dganguly
>>>> >>>      ---------------------------------------------------------------------
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> _______________________________________________
>>>> >>> RegCNET mailing list
>>>> >>> RegCNET at lists.ictp.it
>>>> >>> https://lists.ictp.it/mailman/listinfo/regcnet
>>>> >>
>>>> >
>>>> > Dilip.
>>>> >
>>>> >     ---------------------------------------------------------------------
>>>> >        DILIP GANGULY
>>>> >        Postdoctoral Fellow
>>>> >        Space And Atmospheric Sciences Division
>>>> >        Physical Research Laboratory
>>>> >        Ahmedabad 380009
>>>> > 	Gujarat, India
>>>> >        Phone: +91 79 26314558 (Laboratory)
>>>> >               +91 79 26300505 (Hostel)
>>>> > 	Fax:   +91 79 26314659
>>>> > 	Alternate Email: ganguly.dilip at gmail.com
>>>> >            Visit me at   http://www.prl.res.in/~dganguly
>>>> >     ---------------------------------------------------------------------
>>>> >
>>>> >
>>>> >
>>>> > _______________________________________________
>>>> > 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
>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>
>>>
>>> Dilip.
>>>
>>>      ---------------------------------------------------------------------
>>>         DILIP GANGULY
>>>         Postdoctoral Fellow
>>>         Space And Atmosph
>>
> 
> 
> -- 
> Dilip Ganguly
> Postdoctoral Fellow
> Space and Atmospheric Sciences Division
> Physical Research Laboratory
> Navrangpura
> Ahmedabad-380009
> Gujarat, India
> Phone:+91 79 26314558, Fax: +91 79 26314659
> Alternate Email: ganguly.dilip at gmail.com
> visit me at: http://www.prl.res.in/~dganguly
> 
> -- 
> Dilip Ganguly
> Postdoctoral Fellow
> Space and Atmospheric Sciences Division
> Physical Research Laboratory
> Navrangpura
> Ahmedabad-380009
> Gujarat, India
> Phone:+91 79 26314558, Fax: +91 79 26314659
> Alternate Email: ganguly.dilip at gmail.com
> visit me at: http://www.prl.res.in/~dganguly

-- 
Scientific and Engineering Applications Group,
Center for Development of Advanced Computing,
Pune University Campus, Ganeshkhind,
Pune - 411 007 (INDIA)

Ph. (020)25704226







More information about the RegCNET mailing list