[Thread Prev][Thread Next][Index]
[ferret_users] Ferret problem with nested repeat loops
- To: ferret_users <ferret_users@xxxxxxxx>
- Subject: [ferret_users] Ferret problem with nested repeat loops
- From: Xiufeng Yang <xf.yang87@xxxxxxxxx>
- Date: Wed, 11 May 2011 18:06:31 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=lSrgy5+tA18DtB2FhHoW5NCGsn/dqusM6o0v6OhqUa0=; b=sW9wWeGghFv81IJo+7DxnkLrarJrFn5eoHDu2QQalf4PUbU3K0nvgedciX1EuVwaHf E44JYfw1+ld/Xz8y+eEVxEq7hOZ5sLdvm78caZz8ghz2smQPeCB399H1Za4731kU0YX1 HFRPWwpJV6zWP09qwD/HXbw09OwZxepdy6uVY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=wTMJmkCYU31LYE6VXvgtNAKZ3LP+JOmEh59KAmaUfbU/282Uuof41cuJ05cdLib8WW gQjiylzIOl9tm6OU/+g7tlwss3IwBMNXOwfu38BxBHVmtRt+HaW0DZjgkaX0bKA81m+4 EyeQNwjho5qdJpl5b9mCAeVhYxomYgUPDgYVI=
- Sender: owner-ferret_users@xxxxxxxx
Hello Ferreters,
The variable I am dealing with has the following dimensions:
name title I J K L
U u-veloc. [20.1H] 1:541 1:385 1:40 1:364
I want to save this variable to a local *.nc file. Since it is too big to be saved one time (my computer only has 60 Mwords memory maximum available for Ferret), I am doing it with nested loops. Since I am running Ferrest on WinXP, I cannot use repeat/range command. I am using the script looking like the following:
yes? repeat/L=1:364 Let temp1=L; (repeat/K=1:40 Let temp2=K; save/append/file=test.nc U[I=1:541,J=1:385, K=temp2, L=temp1]).
Can anybody help me troubleshoot above script and make it work as it is supposed to be?
If you have any better ways to do the same thing, you are more than welcomed to let me know. Any input will be highly appreciated.
Thank you for your time.
X.Y.
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement