pub struct ImageQuery {Show 17 fields
pub var: String,
pub time_index: Option<usize>,
pub time: Option<f64>,
pub __time_index: Option<usize>,
pub level: Option<f64>,
pub __level_index: Option<usize>,
pub bbox: Option<String>,
pub width: Option<u32>,
pub height: Option<u32>,
pub colormap: Option<String>,
pub interpolation: Option<String>,
pub format: Option<String>,
pub center: Option<String>,
pub wrap_longitude: Option<bool>,
pub resampling: Option<String>,
pub enhance_poles: Option<bool>,
pub extra: HashMap<String, Value>,
}Expand description
Query parameters for image endpoint
Fields§
§var: StringVariable name to render
time_index: Option<usize>Time index (0-based)
time: Option<f64>Time physical value (preferred over time_index)
__time_index: Option<usize>Raw time index (preferred over time_index, used by experts)
level: Option<f64>Level/pressure value (for 3D+ data)
__level_index: Option<usize>Raw level index
bbox: Option<String>Bounding box as “min_lon,min_lat,max_lon,max_lat”
width: Option<u32>Image width in pixels
height: Option<u32>Image height in pixels
colormap: Option<String>Colormap name (e.g., viridis, plasma, coolwarm)
interpolation: Option<String>Interpolation method for resampling (deprecated, use resampling instead)
format: Option<String>Output format (png or jpeg)
center: Option<String>Map centering (eurocentric, americas, pacific, or custom longitude)
wrap_longitude: Option<bool>Allow bounding boxes that cross the dateline/prime meridian
resampling: Option<String>Upsampling/downsampling quality (auto, nearest, bilinear, bicubic)
enhance_poles: Option<bool>Whether to enhance pole regions to reduce distortion
extra: HashMap<String, Value>Extra fields for arbitrary dimension values and indices
Trait Implementations§
Source§impl Debug for ImageQuery
impl Debug for ImageQuery
Source§impl<'de> Deserialize<'de> for ImageQuery
impl<'de> Deserialize<'de> for ImageQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for ImageQuery
impl RefUnwindSafe for ImageQuery
impl Send for ImageQuery
impl Sync for ImageQuery
impl Unpin for ImageQuery
impl UnsafeUnpin for ImageQuery
impl UnwindSafe for ImageQuery
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more