Hi Domingos,
You can do this if you put the file specification in double quotes:
yes? use "R8-515data2/time_mean.00`year`.0`month`.dta.nc"
Ansley
Domingos Urbano wrote:
Hi all,
I'm trying to read big nc files that are in a linked directory but I
got an error messages from ferret saying those files could not be
found. The script works fine when the .nc and .jnl files are into the
same directory (but I have no empty space on disc)
Any help will be very welcome.
Domingos.
----------------------------------------------------------------------------------
script:
\cancel mode verify
set memory/size=400
cancel data/all
cancel var/all
cancel win/all
cancel grid
FILE/var="lon, lat, dd, mm, yyyy" stn$1.txt
let year=yyyy[d=1,i=1]
let month=mm[d=1,i=1]
use R8-515data2/time_mean.00`year`.0`month`.dta.nc
...
----------------------------------------------------------------------------------
error message:
NOAA/PMEL TMAP
FERRET v6
Linux(g77) 2.4.21-32 - 08/23/06
8-May-07 07:58
yes? go ptrack0
Cached data cleared from memory
Cached data cleared from memory
**TMAP ERR: non-existent or not on line
Searched $FER_DESCR and $FER_DATA for
R8-515data2(.des,.cdf,.nc)
SET DAT/FORM=CDF R8-515data2/time_mean.001999.02.dta.nc
Command file, command group, or REPEAT execution aborted
yes?
-------------------------------------------------------------------------------------------
--
----------------------------------------------------------------------------------------
Dr. Domingos Urbano
Grupo de Modelagem Acoplada Oceano-Atmosfera - GMA
Centro de Previsão de Tempo e Estudos Climáticos - CPTEC
Instituto Nacional de Pesquisas Espaciais - INPE
Rodovia Presidente Dutra, km 40
12630-000 - Cachoeira Paulista - SP - Brasil
tel: 55(12)3186.8552 fax: 55(12)3101.2835
www.cptec.inpe.br
www.inpe.br/ingles/
----------------------------------------------------------------------------------------
--
~> ~> ~> ~> ~> ~> ~> ~> ~> ~> ~>
Ansley Manke, NOAA/PMEL ansley.b.manke@xxxxxxxx
7600 Sand Point Way NE, Seattle WA
Phone 206-526-6246, FAX 206-526-6744
|