[Thread Prev][Thread Next][Index]

Re: [ferret_users] problems for concatenate several netcdf files



Hi Domigos,
                       It appears the time stamp of the variables are
not in increasing order pl check if time of 102.nc is greater than
that of 101.nc
with best regards,
Sudheer

On Wed, Oct 6, 2010 at 9:36 PM, Domingos Urbano <dfurbano@xxxxxxxxx> wrote:
> Hi Sudheer,
>
> I tried and the error message was "disordered output coordinate value"
>
> Any clue?
>
> Thanks,
> Domingos.
>
> domingos@ponhy:/extra/R8-1010data/analise2_swe> ferret
>      NOAA/PMEL TMAP
>      FERRET v6.2
>      Linux(g77) 2.4.21-32 - 05/19/09
>       6-Oct-10 12:56
>
> yes? use "../newname/197101.nc"
> yes? save/file=teste.cdf temp
>  LISTing to file teste.cdf
> yes? cancel data/all
> yes? use "../newname/197102.nc"
> yes? save/append/file=teste.cdf temp
>  LISTing to file teste.cdf
>  **TMAP ERR: error in line definition
>              disordered output coordinate value:  27.986      Axis: TIME
> yes?
>
>
> On Wed, Oct 6, 2010 at 12:10 PM, Sudheer Joseph <sjo.india@xxxxxxxxx> wrote:
>>
>> Hi Domingos,
>>                           If you have already time dimension in your
>> data files you don't have toyo define a new time axis, if the variable
>> name is same.
>> you can simply do
>> use file1.nc
>> save/file=appended_out.nc var1
>> cancel data 1
>> use file2.nc
>> save/file=appended_out.nc var1
>> ....
>> ...
>> Another thing I noticed is you are using append/clobber for the same
>> file in your commands
>> clobber if you use it will over write what ever existing on the other
>> hand append is to append a data to an existing data.
>> both should not be used together.
>> hope this helps
>> Sudheer
>>
>> On Wed, Oct 6, 2010 at 7:28 PM, Domingos Urbano <dfurbano@xxxxxxxxxxxxx>
>> wrote:
>> > Dear all,
>> >
>> > I am trying to concatenate some model outputs but neither option
>> > available
>> > on the FAQ
>> >
>> > (http://ferret.pmel.noaa.gov/FERRET_17sep07/FAQ/data_management/multi_dataset.html
>> > ) is working. I forced my new time axis to have the same time of each
>> > file
>> > but it's still not working.
>> > Above my sequence of commands and error message. Anyone could help?
>> >
>> > Thanks,y
>> > Domingos.
>> >
>> > yes?
>> > yes? define axis/t="01-feb-1971 11:40":"01-jan-2001
>> > 11:40":30/unit=days/calendar=
>> > 360_DAY t30anos
>> > yes? define grid/t=t30anos gg
>> > yes? let temp_T = t[g=gg]*0 + temp
>> > yes? set variable/title="Pot. Temperature"/units="deg C" temp_T
>> > yes? use "../197101.nc"
>> > yes? save/file=concat_1971-2000.cdf temp_t[l=1]
>> >  LISTing to file concat_1971-2000.cdf
>> > yes? use "../197102.nc"
>> > yes? save/file=concat_1971-2000.cdf/append/clobber temp_t[l=2]
>> >  *** NOTE: Ambiguous coordinates on T axis: T[G=GG]*0 + TEMP
>> >  **ERROR: illegal limits: TEMP does not exist at L=2
>> >           Axis extremes are L=1
>> > yes? show grid temp[d=1]
>> >     GRID GBY1
>> >  name       axis              # pts   start                end
>> >  XT_I      LONGITUDE          609mi   97.5W
>> > 21.625E(381.62)
>> >  YT_J      LATITUDE           211 i   47.5S                57.5N
>> >  ZT_K      DEPTH (m)           20 i-  7.5                  2857.8
>> >  TIME      TIME                 1 r   01-FEB-1971 11:40    01-FEB-1971
>> > 11:40
>> > yes? show grid temp[d=2]
>> >     GRID GAB1
>> >  name       axis              # pts   start                end
>> >  XT_I      LONGITUDE          609mi   97.5W
>> > 21.625E(381.62)
>> >  YT_J      LATITUDE           211 i   47.5S                57.5N
>> >  ZT_K      DEPTH (m)           20 i-  7.5                  2857.8
>> >  TIME1     TIME                 1 r   01-MAR-1971 11:40    01-MAR-1971
>> > 11:40
>> > yes?
>> >
>> >
>> > --
>> > ------------------------------------------------------
>> >  Dr. Domingos Urbano
>> >  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.inpe.br/ingles/
>> > ------------------------------------------------------
>> >
>>
>>
>>
>> --
>> with best regards
>>
>> Sudheer
>>
>>
>> **********************************************************************************
>> Sudheer Joseph
>> Scientist
>> Indian National Centre for Ocean Information Services (INCOIS)
>> Ocean Valley, Post Box No# 21,
>> IDA Jeedimetla P.O.
>> Hyderabad, Ranga Reddy District - 500 055
>> Andhra Pradesh, India.
>> TEl:+91-40-23044600(R),Tel:+91-9440832534(Mobile)
>> Tel:+91-40-23886047(O),Fax:+91-40-23892910(O)
>> E-mail:sjo@xxxxxxxxxxxxxx; sudheer.joseph@xxxxxxxxx;  sjo@xxxxxxxxxxxxxx
>> Web- http://oppamthadathil.tripod.com
>>            --------------* ---------------
>> "The ultimate measure of a man is
>> not where he stands in moments of
>> comfort and convenience, but where
>> he stands at times of challenge and
>> controversy."
>>                         Martin Luther King, Jr.
>> "What we have done for ourselves alone dies with us.
>> What we have done for others and the world remains and is immortal."
>> - Albert Pines
>
>
>
> --
> ------------------------------------------------------
>  Dr. Domingos Urbano
>  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.inpe.br/ingles/
> ------------------------------------------------------
>



-- 
with best regards

Sudheer

**********************************************************************************
Sudheer Joseph
Scientist
Indian National Centre for Ocean Information Services (INCOIS)
Ocean Valley, Post Box No# 21,
IDA Jeedimetla P.O.
Hyderabad, Ranga Reddy District - 500 055
Andhra Pradesh, India.
TEl:+91-40-23044600(R),Tel:+91-9440832534(Mobile)
Tel:+91-40-23886047(O),Fax:+91-40-23892910(O)
E-mail:sjo@xxxxxxxxxxxxxx; sudheer.joseph@xxxxxxxxx;  sjo@xxxxxxxxxxxxxx
Web- http://oppamthadathil.tripod.com
           --------------* ---------------
"The ultimate measure of a man is
not where he stands in moments of
comfort and convenience, but where
he stands at times of challenge and
controversy."
                        Martin Luther King, Jr.
"What we have done for ourselves alone dies with us.
What we have done for others and the world remains and is immortal."
- Albert Pines



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement