[MITgcm-support] [EXTERNAL] changing one entry in pickup files
Paola Cessi
pcessi at ucsd.edu
Mon May 11 20:18:48 EDT 2020
Hi Dimitri,
I am using matlab. These are pickups files from the flt package, so I am not sure they are the same as the regular MITgcm pickups. They are written and read with the mdsio package.
I _think_ that what I need to change is the 9th entry of the “arr" array, i.e. arr(9) written/read by the routines mdsio_wr_rec_rl.F/mdsio_rd_rec_rl.F. That said, I don’t understand how to locate this variable given the .meta file (attached).
Many thanks,
Paola
----------------------------------------------
Paola Cessi
Scripps Institution of Oceanography
9500 Gilman Drive #0213
La Jolla, CA 92093-0213
USA
Tel: +1 858 534 0622 Fax: +1 858 534 8045
e-mail: pcessi at ucsd.edu Web: http://www-pord.ucsd.edu/~pcessi
Delivery address (Fed-Ex, DHL, UPS, etc.):
Paola Cessi
University of California San Diego
Keck Center - Room 366
8851 Shellback Way
La Jolla, CA 92093-0213
USA
> On May 11, 2020, at 4:41 PM, Dimitris Menemenlis <dmenemenlis at gmail.com> wrote:
>
> Hi Paola, do you use matlab or python?
>
> If matlab and if noone answers with a generic answer, please send your pickup*.meta file and let me know which variable you want to replace and I will send you two lines of matlab code (and two small scripts) that will read and write the desired variable from and to the pickup file.
>
> Cheers, Dimitris
>
>> On May 11, 2020, at 3:39 PM, Paola Cessi <pcessi at ucsd.edu <mailto:pcessi at ucsd.edu>> wrote:
>>
>> I need to change one entry in the pick-up files. Is there a simple sample program to read a pickup file change, one entry and write it again with the entry changed?
>>
>> Thanks,
>>
>> Paola
>>
>> ----------------------------------------------
>> Paola Cessi
>> Scripps Institution of Oceanography
>> 9500 Gilman Drive #0213
>> La Jolla, CA 92093-0213
>> USA
>> Tel: +1 858 534 0622 Fax: +1 858 534 8045
>> e-mail: pcessi at ucsd.edu <mailto:pcessi at ucsd.edu> Web: http://www-pord.ucsd.edu/~pcessi <http://www-pord.ucsd.edu/~pcessi>
>>
>> Delivery address (Fed-Ex, DHL, UPS, etc.):
>> Paola Cessi
>> University of California San Diego
>> Keck Center - Room 366
>> 8851 Shellback Way
>> La Jolla, CA 92093-0213
>> USA
>>
>>
>>
>>
>> _______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org <mailto:MITgcm-support at mitgcm.org>
>> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support <https://urldefense.com/v3/__http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support__;!!Mih3wA!QoirxRdRyr4vnrPbSnaKY7tFkekGeHWD65KRYp5_8wt09DuCmWRzUfDbDwwgxw$>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> https://urldefense.com/v3/__http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support__;!!Mih3wA!QoirxRdRyr4vnrPbSnaKY7tFkekGeHWD65KRYp5_8wt09DuCmWRzUfDbDwwgxw$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20200511/579d99f0/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pickup_flt.ckptA.001.001.meta
Type: application/octet-stream
Size: 178 bytes
Desc: not available
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20200511/579d99f0/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20200511/579d99f0/attachment-0003.html>
More information about the MITgcm-support
mailing list