[Thread Prev][Thread Next][Index]

[ferret_users] pyferret frame images with nodisplay have small white lines



Hi all,

With pyferret and the -nodisplay option I get some white horizontal lines 
that makes the image captured by the frame command not very nice (at least strange).

Is there a workaround ? 
Initially (re)discovered from a python notebook (with ferretmagic https://github.com/PBrockmann/ipython_ferretmagic)

$ cat tyty.jnl
use levitus_climatology
shade/lev=20v temp[k=1]
frame/file=tyty.png

$ pyferret -nodisplay -script tyty.jnl

I have tested the pyferret -png option.
It produces an image without lines. That would be perfect but how to retrieve this mode
from a pyferret.start function (the way ferretmagic produces images).

Please test:

$cat tyty.py
import pyferret
pyferret.start(verify=False, journal=False, unmapped=True, quiet=True)
pyferret.run('use levitus_climatology')
pyferret.run('shade/lev=20v temp[k=1]')
pyferret.run('frame/file=tyty.png')

$python tyty.py

Tested with last 7.63 release

Regards
Patrick

--
Data Analytics and Visualization Engineer / Project Manager
LSCE/IPSL, CEA-CNRS-UVSQ laboratory
LSCE - Climate and Environment Sciences Laboratory
IPSL - Institut Pierre Simon Laplace
--

Attachment: tyty.png
Description: PNG image


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement